Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2006

Tip: Looking for answers? Try searching our database.

stdin/stdout Redirection

Thread view: 
carbonrocket@gmail.com - 19 Sep 2006 15:15 GMT
I dont know if anyone here can help or if I would be better going to a
WIN32 group - but because its to do with the use of Java I hope in the
correct place.

I am planning on an app that allows other people exe's to communicate
with it no matter what language or operating system they are using. The
main app will launch the exe and as such will be able to have the stdin
/ stdout redirected to itself for communication using CreateProcess()
(will figure out a *nix equivilant later on) method in the WIN32 API.

I know this will work with exe's created in C/C++, VB and likely most
other languages, however I am not sure whether it would work with a
java application as they are not compiled binaries - can anyone
reassure me as to whether or not it will work with java before I begin.

Essentially the question is can the stdin/stdout of a Java app be
redirected by the operating system when it launches?

Cheers
CBAR
Paul Davis - 19 Sep 2006 15:52 GMT
> I dont know if anyone here can help or if I would be better going to a
> WIN32 group - but because its to do with the use of Java I hope in the
[quoted text clipped - 13 lines]
> Essentially the question is can the stdin/stdout of a Java app be
> redirected by the operating system when it launches?

Yes

> Cheers
> CBAR
Chris Uppal - 19 Sep 2006 15:57 GMT
> Essentially the question is can the stdin/stdout of a Java app be
> redirected by the operating system when it launches?

Yes.

   -- chris
carbonrocket@gmail.com - 19 Sep 2006 16:45 GMT


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.