Starting AND Monitoring status of a Process on a Remote workstation
-
Hi there, I want to start a process on a remote machine and as soon as the process is complete i want to start a local process. Keep in mind that: - I only have the UNC of the remote pc - The process that must be run is stored on the remote pc and must be run on that pc. - I do not want to map network drives (although it's highly unlikely that i should) This is how I would do it if the first process was run on my local machine.
myProcess.Start();
myProcess.WaitForExit()
//next processThank you,
-
Hi there, I want to start a process on a remote machine and as soon as the process is complete i want to start a local process. Keep in mind that: - I only have the UNC of the remote pc - The process that must be run is stored on the remote pc and must be run on that pc. - I do not want to map network drives (although it's highly unlikely that i should) This is how I would do it if the first process was run on my local machine.
myProcess.Start();
myProcess.WaitForExit()
//next processThank you,
diePopster wrote:
I want to start a process on a remote machine ...
You are going to need some communications vehicle between the two systems so the initiator sends a message to the remote telling it to start the process, and when it terminates to return a completion message. You could do this with sockets, or maybe WCF, although sockets may be easier to learn. Take a look at some of the links here[^] for more information, or search Google for 'WCF' if you decide on that route.
-
Hi there, I want to start a process on a remote machine and as soon as the process is complete i want to start a local process. Keep in mind that: - I only have the UNC of the remote pc - The process that must be run is stored on the remote pc and must be run on that pc. - I do not want to map network drives (although it's highly unlikely that i should) This is how I would do it if the first process was run on my local machine.
myProcess.Start();
myProcess.WaitForExit()
//next processThank you,