%myent; ]>
runCommand Run an executable with arguments on the server providing the web service. The command is run within the environment and under the user privileges of the user who is running the Tomcat Server.
&inp; runCommand input parameters parameter type required description executable String Yes Command to be run. The command may be specified with full path using forward slash "/" as path separator. argline String No Any command line arguments ¶m-timeout;
&outp;
Sample request: Start Windows Command Interpreter and print "Hello World" to STDOUT. c:/windows/system32/cmd.exe /C "echo Hallo Welt!" 3000 ]]> Sample response: 0 ExecuteService.result 0 ExecuteService.stdout Hallo Welt! ExecuteService.stderr ]]>
Sample request: Start notepad.exe and close it after 15 seconds. c:/windows/system32/notepad.exe 15000 ]]>