RE: TeraScript-Talk: Could not execute fork error

2014-11-06 Thread Robert Shubert
You can't. Try to find another way to accomplish the task. -Original Message- From: prabakaran.jeyaku...@accenture.com [mailto:prabakaran.jeyaku...@accenture.com] Sent: Thursday, November 06, 2014 2:33 AM To: TeraScript-Talk@terascript.com Subject: RE: TeraScript-Talk: Could not execute

RE: TeraScript-Talk: Could not execute fork error

2014-11-06 Thread Robert Shubert
Here's another thought - use a COM object to run the batch file. Something like this should work: @ASSIGN shell @CREATEOBJECT type=COM objectid=wscript.shell @CALLMETHOD shell Run('cmd /c c:\path\to\script.bat',0,0) Although it won't return the stdout to TeraScript (you'll see the exit code) it