On Wednesday 16 April 2003 15:37, Stefan Hundhammer wrote:
On Mittwoch, 16. April 2003 15:30, Linux Aremania wrote:
I wanna make java application which call linux command, but I don't know how to call linux command. For example : I wanna display the output of "ps -ax" command in applet.
I don't program Java, but from what I know you have only very limited access to the client system in Java applets - that would be a considerable security hole. Imagine everybody who can set up a web server could run commands remotely on your machine over the Internet! (That would be the consequence of what you wish to do).
Bottom line: I doubt you can do that at all in a Java applet.
Any true expert's opinion?
Oh, you're probably right about that. Exec class might not work in an -applet-. -- tinus ___________________________________________________ "Words are weightless here on earth Because they're free." -- Josh Homme