Running your PROCESS START command works fine for me (where I simply 
copied another executable to afBluetooth_v1_0_1_Setup.exe in the same 
directory structure that you used).  For example:

C:\>STAF local PROCESS START COMMAND "C:\Testing\Bluetooth Test\Bluetooth 
Installer\afBluetooth_v1_0_1_Setup.exe"
Response
--------
242

So, I'm not sure why it isn't working on your Windows machine.  What 
Windows operating system are you using?

Try encapulating the executable within double quotes within the command as 
follows.  Does that work on your machine?

C:\>STAF local PROCESS START COMMAND "\"C:\Testing\Bluetooth 
Test\Bluetooth Installer\afBluetooth_v1_0_1_Setup.exe\""
Response
--------
244

If that still doesn't work, try starting the command using the SHELL 
option and specifying the WORKDIR option as follows:

C:\>STAF local PROCESS START SHELL COMMAND "afBluetooth_v1_0_1_Setup.exe" 
WORKDIR "C:\Testing\Bluetooth Test\Bluetooth Installer"
Response
--------
250

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313




yamini sardana <sardana.yam...@gmail.com> 
06/29/2009 10:11 AM

To
staf-users@lists.sourceforge.net
cc

Subject
[staf-users] Error starting process






On the command prompt I am issuing a start process command which gives me 
the below mentioned error:
C:\>staf local process start command "C:\Testing\Bluetooth Test\Bluetooth 
Installer\afBluetooth_v1_0_1_Setup.exe"
Error submitting request, RC: 10
Additional info
---------------
Error starting the process. CreateProcess failed with OS RC 193
 
If I remove the blank space between "Bluetooth Test" to make it to 
C:\>staf local process start command "C:\Testing\BluetoothTest\Bluetooth 
Installer\afBluetooth_v1_0_1_Setup.exe" 
the process starts successfully and the installer is launched.
 
I have another installer maintained in the similar directory structure 
which gets executed successfully.
C:\>staf local process start command "C:\Testing\GSM Test\GSM 
Installer\afGSM_v2_3_1_Setup.exe"
 
Can somebody please let me know am I missing something here or what is it 
that is causing the problem.
 
Thanks in advance.
 
Regards,
Yamini
 
 
------------------------------------------------------------------------------
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

------------------------------------------------------------------------------
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to