diff options
author | Kyle White <kyle@xamarin.com> | 2016-05-31 23:47:03 +0300 |
---|---|---|
committer | Kyle White <kyle@xamarin.com> | 2016-05-31 23:47:03 +0300 |
commit | bd6167471e62be3096531558ab22a161098a1136 (patch) | |
tree | ee66e3522a8750bdf48a2c096dd5dcce9cb7a87d /main/src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest | |
parent | 29eb03090b5b5286f45b8effe918bf93ead6e68b (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.cs | 4 |
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 () |