Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle White <kyle@xamarin.com>2016-05-31 23:47:03 +0300
committerKyle White <kyle@xamarin.com>2016-05-31 23:47:03 +0300
commitbd6167471e62be3096531558ab22a161098a1136 (patch)
treeee66e3522a8750bdf48a2c096dd5dcce9cb7a87d /main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest
parent29eb03090b5b5286f45b8effe918bf93ead6e68b (diff)
[AutoTest] Return the process id of the application after start
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest/AutoTestClientSession.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest/AutoTestClientSession.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest/AutoTestClientSession.cs
index 6e2fc2052e..8d581d2c6c 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest/AutoTestClientSession.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest/AutoTestClientSession.cs
@@ -60,7 +60,7 @@ namespace MonoDevelop.Components.AutoTest
}
}
- public void StartApplication (string file = null, string args = null, IDictionary<string, string> environment = null)
+ public int StartApplication (string file = null, string args = null, IDictionary<string, string> environment = null)
{
if (file == null) {
var binDir = Path.GetDirectoryName (typeof(AutoTestClientSession).Assembly.Location);
@@ -98,6 +98,8 @@ namespace MonoDevelop.Components.AutoTest
} catch { }
throw new Exception ("Could not connect to application");
}
+
+ return process.Id;
}
public void AttachApplication ()