This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to write to a another java std input stream.

 
Jolly Ag
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends ;;
I have a problem that i want to write something into Standard Input stream of a java program from another java program ,can anybody give me any idea abt this.
Tx.
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The results of one program can be expressed as the input to another program only through services provided by the operating system. There is no Java-to-Java only way to do this without writing first to a file or using some other high-level OS facility.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic