Hi,
I have tried to execute the graph graphSystemExecute.grf in my eclipse.
I am faced with the following error.
I am not sure since this is a unix command if it can be executed on the eclipse running on a Windows machine.
Is there any alternate solution for this??Please reply
ERROR [WatchDog] - Graph execution finished with error
ERROR [WatchDog] - Node SYS_EXECUTE0 finished with status: ERROR caused by: CreateProcess: sh C:\Documents and Settings\vinutha.harishankar\Local Settings\Temp\tmp19338.bat error=2
ERROR [WatchDog] - Node SYS_EXECUTE0 error details:
java.io.IOException: CreateProcess: sh C:\Documents and Settings\Namer\Local Settings\Temp\tmp19338.bat error=2
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at org.jetel.component.SystemExecute.execute(SystemExecute.java:292)
at org.jetel.graph.Node.run(Node.java:390)
at java.lang.Thread.run(Unknown Source)
I have tried to execute the graph graphSystemExecute.grf in my eclipse.
I am faced with the following error.
I am not sure since this is a unix command if it can be executed on the eclipse running on a Windows machine.
Is there any alternate solution for this??Please reply
ERROR [WatchDog] - Graph execution finished with error
ERROR [WatchDog] - Node SYS_EXECUTE0 finished with status: ERROR caused by: CreateProcess: sh C:\Documents and Settings\vinutha.harishankar\Local Settings\Temp\tmp19338.bat error=2
ERROR [WatchDog] - Node SYS_EXECUTE0 error details:
java.io.IOException: CreateProcess: sh C:\Documents and Settings\Namer\Local Settings\Temp\tmp19338.bat error=2
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at org.jetel.component.SystemExecute.execute(SystemExecute.java:292)
at org.jetel.graph.Node.run(Node.java:390)
at java.lang.Thread.run(Unknown Source)
-
Hello Evergreen,
Unix command can't be executed on Windows machine. Example for Windows (graphSystemExecuteWin.grf) is also included in SimpleExamples project. What command would you like to execute? -
Lets say I want to execute some shell script commands using SystemExecute of Clover then how should I do it?
The graphSystemExecute.grf in the examples projects does not execute on any unix servers.
It is just connected to UniversalDataReader and UniversalDataWriter. -
In graphSystemExecute.grf you have command attribute set to: cat
ls ${MY_DIR}
This is the batch file, that is executed.
Please sign in to leave a comment.
Comments 3