The restrictions are the same as launching any process from java. Such as
- Relative vs absolute command line
- If relative - is the current working dir correct
- Is the user_id of the running process correct
- Environment variables carried to the child process
- If there is a secutiry manager - will it allow exec
- ...
-Tim
zeallousbigpond.net.au wrote:
> Can JSP call system exec commands in linux?.....
>
> Runtime.getRuntime().exec("pdflatex")
>
> does this work in JSP? ......fyi, pdflatex is installed in another server..
>
> so..when you run exec in tomcat...does it run and view those commands/programs that exist ONLY in the tomcat directory?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)