I don't know why the following command isn't working on your Windows XP 
machine
 
C:\>staf local process start command "C:\Testing\Bluetooth Test\Bluetooth 
Installer\afBluetooth_v1_0_1_Setup.exe"

since it works find on my Windows XP machines as follows:

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

Use one of the workarounds that I suggested instead.

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




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

To
Sharon Lucas/Austin/i...@ibmus
cc

Subject
Re: [staf-users] Error starting process






Hi Sharon,
 
Thanks for the response.
 
I am using Windows XP (Version 2002, SP 3).
 
The installer gets launched when I encapsulate the command in double 
quotes:
C:\>staf local process start command "\"C:\Testing\Bluetooth 
Test\Bluetooth Installer\afBluetooth_v1_0_1_Setup.exe\""
Response
--------
159
 
Also, when I use the shell command it works fine:
C:\>staf local process start shell command "afBluetooth_v1_0_1_Setup.exe" 
workdir "C:\Testing\Bluetooth Test\Bluetooth Installer"
Response
--------
161
 
But I am still not clear why is it causing a problem with 
C:\>staf local process start command "C:\Testing\Bluetooth Test\Bluetooth 
Installer\afBluetooth_v1_0_1_Setup.exe"
 
Regards,
Yamini Sardana

On Mon, Jun 29, 2009 at 4:42 PM, Sharon Lucas <luc...@us.ibm.com> wrote:

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