Thanks David and Juan, I was trying to run a pandoc conversion from markdown to html and I had an error inside my command. Once corrected it works without any problem and generates the desired file. One note on adding "exec" is that I get this message on the playground: "an ExternalUnixOSProcess with pid 21552 on /bin/sh (complete, normal termination with status 0)" which seems better. Despite of both working I will use the exec suggestion to have a better message from external process. Cheers, Offray On 11/02/2014 06:40 PM, Juan Ignacio Vaccarezza wrote:
Hi Offray I had some issues controlling the process's life cycle and I fixed using the "exec" linux program. I'm using something like: OSProcess command: 'exec programToExecute'. Then I'm able to kill the process correctly and query the status.
Hope it helps.
Regards, Juan.
On Sun, Nov 2, 2014 at 7:54 PM, Offray Vladimir Luna Cárdenas <offray@riseup.net <mailto:offray@riseup.net>> wrote:
Hi all.
I'm having problems with OSProcess. When I run "OSProcess command: 'my command'" on Linux, the Moose playground says that "an ExternalUnixOSProcess with pid 20887 on /bin/sh (running)", but the external process never ends. What I'm missing?
Cheers,
Offray