Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3AFBBCA7.2080807@prodata.it> Date: Fri, 11 May 2001 12:19:19 +0200 From: Patrick Ohnewein User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; 0.8.1) Gecko/20010323 X-Accept-Language: en MIME-Version: 1.0 To: cygwin Subject: run.exe tool and output on out and err channels Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit I have the following situation, I would like to use the run(-native).exe (run-1.1.4) to call a console program from within my java app, to avoid the flackering dos-boxs. Now my problem is that calling the program with run.exe hides even all Outputs, which I am listening for in my java-app to show a log to the user. And mainly the problem is, that the called program doesn't return valid exit-codes and I have to interprete the output. Now does someone know if there is a way to set a flag or slightly modify run to even get this output? thx cu pazzo p.s. please send me a cc. -- +----------------------------------------------------------------------- | Save software competition, use Linux and Java! | | Also visit http://www.lugbz.org the Linux User Group in Southtyrol! | | Public PGP KEY: http://www.lugbz.org/PGP_PatrickOhnewein.asc |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Confidence is the feeling you have before you understand the situation. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple