Forum Discussion
makh_dv
13 years agoOccasional Contributor
If your project is related to .Net one.
A quick solution could be:
Add to Project by Double click on it -> Properties -> CLR Bridge: System 2.0 from GAC. This will allow to use common dotNet assemblies
use following code (JScript):
var process = dotNET.System_Diagnostics.Process.Start_2(path);
// OR var process = dotNET.System_Diagnostics.Process.Start_3(path, args);
process.WaitForExit(); //infinite wait
// OR process.WaitForExit_2(msecs);
You can read more about Process object here:
http://msdn.microsoft.com/en-us/library/system.diagnostics.process_members%28v=vs.90%29.aspx
Note: JScript doesn't support method overloading, thus you'll need to check with IntellSense suffixes (like above _2, _3 etc) meanings.
A quick solution could be:
Add to Project by Double click on it -> Properties -> CLR Bridge: System 2.0 from GAC. This will allow to use common dotNet assemblies
use following code (JScript):
var process = dotNET.System_Diagnostics.Process.Start_2(path);
// OR var process = dotNET.System_Diagnostics.Process.Start_3(path, args);
process.WaitForExit(); //infinite wait
// OR process.WaitForExit_2(msecs);
You can read more about Process object here:
http://msdn.microsoft.com/en-us/library/system.diagnostics.process_members%28v=vs.90%29.aspx
Note: JScript doesn't support method overloading, thus you'll need to check with IntellSense suffixes (like above _2, _3 etc) meanings.
Related Content
- 5 years ago
- 13 years ago
- 12 years ago
Recent Discussions
- 10 hours ago
- 7 days ago
- 10 days ago