The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2002



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


Passing System command from Java to Operating System shell and result back to the Java Application

Posted by Deepa Datar on January 24, 2002 at 9:38 PM

I am a student doing my bachelors in computer applications, I am working on a project(programming a telnet server in Java).I actually have a query on which i have been thinking. I just hope that you may help me out of this. The query is the command which is passed from the client to the server, has to be executed on the shell. I would like to know how can we pass the command from Java to the Operating System shell and the result back to the Java application.
Thanking you in anticipation.

Deepa Datar

  • 'ere ye go Anil S. Karkera January 24, 2002 at 11:43 PM (0)

Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us