Re: [staf-users] regarding STAF PROCESS START

2011-07-06 Thread Sharon Lucas
There is no START service. There is a PROCESS service and you can use its START request to start a process. Here's an example of a C++ program that submits a START request to the PROCESS service (without the WAIT option) and prints the handle# for the process it started: #include "STAF.h" #in

Re: [staf-users] regarding STAF PROCESS START

2011-07-06 Thread Sharon Lucas
A PROCESS START request without the WAIT option specified returns the STAF handle number of the process started in the STAF result. For example: C:\>STAF client1.company.com PROCESS START SHELL COMMAND "/test/test1.sh" Response 806 The result, 806, is a string containing the STAF handl