The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
July 2001

Advertisement

Advertisement

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.

Message:

Uses it parent process for standard IO thru 3 streams

Posted by Kishori Sharan on July 08, 2001 at 12:56 PM

You can use these method to get I/O/E of the process created by Runtime class. The process created by Runtime doesn't have its own console. So, using these method I/O/E are redirected to parent process.
Process.getOutputStream()
Process.getInputStream()
Process.getErrorStream()



Replies:

Sponsored Links



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