# SystemExecute graph execution

**URL:** https://forum.cloverdx.com/t/systemexecute-graph-execution/662
**Category:** CloverDX Platform
**Created:** [February 9, 2010, 12:00am UTC](https://forum.cloverdx.com/t/systemexecute-graph-execution/662 "2010-02-09T00:00:00Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![evergreen](https://avatars.discourse-cdn.com/v4/letter/e/6de8d8/32.png) [@evergreen](https://forum.cloverdx.com/u/evergreen)
#### Post date: [February 9, 2010, 12:00am UTC](https://forum.cloverdx.com/t/systemexecute-graph-execution/662/1 "2010-02-09T00:00:00Z")

</div>

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.(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)

---

<div class="post-metadata">

### Author: ![avackova](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@avackova](https://forum.cloverdx.com/u/avackova)
#### Post date: [February 9, 2010, 10:57am UTC](https://forum.cloverdx.com/t/systemexecute-graph-execution/662/2 "2010-02-09T10:57:38Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![evergreen](https://avatars.discourse-cdn.com/v4/letter/e/6de8d8/32.png) [@evergreen](https://forum.cloverdx.com/u/evergreen)
#### Post date: [February 9, 2010, 11:44am UTC](https://forum.cloverdx.com/t/systemexecute-graph-execution/662/3 "2010-02-09T11:44:20Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![avackova](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@avackova](https://forum.cloverdx.com/u/avackova)
#### Post date: [February 10, 2010, 10:53am UTC](https://forum.cloverdx.com/t/systemexecute-graph-execution/662/4 "2010-02-10T10:53:50Z")

</div>

In graphSystemExecute.grf you have command attribute set to:

```auto
cat
ls ${MY_DIR}

```

This is the batch file, that is executed.
