Re: Running local process from within web application.

2015-03-23 Thread Lukasz Lenart
2015-03-23 13:55 GMT+01:00 David Field : > Thanks Martin. Presumably though this would only run a process in the server, > not the local machine. A second potential issue with using Runtime would be > getting any response or output from the process. So you want to run a command on a client machi

Re: Running local process from within web application.

2015-03-23 Thread David Field
Thanks Martin. Presumably though this would only run a process in the server, not the local machine. A second potential issue with using Runtime would be getting any response or output from the process. Sent from my iPhone > On 23 במרץ 2015, at 13:56, Martin Gainty wrote: > > > David- > >

RE: Running local process from within web application.

2015-03-23 Thread Martin Gainty
David- Runtime.getRuntime().exec("fubar.sh"); I would launch this in a thread so as to not disrupt WebServer from receiving requests/producing Responses http://docs.oracle.com/javase/7/docs/api/java/lang/Runtime.html in production you probably want to consider Message Queues Technologies such a

Running local process from within web application.

2015-03-23 Thread David Field
Is it possible, and if so how, to run a local process (normally run from the command line), within a struts web application. Thanks Sent from my iPhone - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional