Run bash command in terminal using PDG
3450 5 1- Tyler Britton2
- Member
- 83 posts
- Joined: April 2014
- Offline
- tpetrick
- Staff
- 586 posts
- Joined: May 2014
- Offline
The Generic Generator node lets you run any executable that's on your PATH as a work item. If you want to actually use the shell itself, e.g. for piping between several executables, you'll need to run it with /bin/sh (or your shell of choice). For example, setting a Generic Generator's command field to /bin/sh -c “ls -la | grep *.txt”.
In you case though, you probably just want something like deadlineslave -nogui -name “somename”, which would work fine as long as the deadlineslave executable can be found on the PATH.
In you case though, you probably just want something like deadlineslave -nogui -name “somename”, which would work fine as long as the deadlineslave executable can be found on the PATH.
- Tyler Britton2
- Member
- 83 posts
- Joined: April 2014
- Offline
- chrisgreb
- Member
- 603 posts
- Joined: Sept. 2016
- Offline
- Tyler Britton2
- Member
- 83 posts
- Joined: April 2014
- Offline
- coclea
- Member
- 15 posts
- Joined: July 2012
- Offline
and is there anyway to run windows commands (MS DOS) in a loop with the Generic Generator and the Generic range generator?
Claire
http://www.coclea.eu [coclea.eu]
http://www.coclea.eu [coclea.eu]
-
- Quick Links