Hi, I'm trying to run a command-line utility exe using the <process> element in STAX. When I try to run the command-line utility from inside a STAX job, the job just hangs and never finishes.
This is how I'm trying to run the utility in the STAX job: <process> <location>'local'</location> <command mode="'shell'" >'"C:\Program Files\my company\my product name\command_util.exe"'</command> <parms>' -w -c '</parms> <workdir>'C:\Program Files\my company\my product name'</workdir> <stderr mode="'stdout'"/> <returnstdout/> </process> To troubleshoot, I tried running this from a command prompt with the STAF command and found that this command runs successfully: C:\> staf local process start shell command "\"C:\program files\my company\my product name\command_util.exe\"" parms " -wait:120 -command get roamer.RoamingMode" wait stderrtostdout returnstdout The crucial item seems to be the 'wait' option just before 'stderrtostdout'. If I remove this 'wait' option the command doesn't run successfully. So my question is, how do I include the 'wait' logic in the STAX job? In reading the STAX Users Guide, it says that the specific 'wait' option is not allowed in a STAX <process> element. Does anyone know what the 'wait' option does? or how to run something in STAX without it? Thanks for any suggestions, Tom Daggett -- Tom Daggett | QA Automation Specialist, Engineering t +1 514.747.5222 x295 e [EMAIL PROTECTED] Trellia | Securing Mobility www.trellia.com ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users