This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem redirecting stderr to pipe in subprocess




Ken Brown-6 wrote:
> 
> On 10/8/2011 11:35 AM, Ken Brown wrote:
> ched is a slight modification of the STC, in which I set stdin for 
> the bash subprocess to /dev/null.  With this modification, the program 
> works as expected (and as on Linux) with cygwin-1.7.9, but the same 
> problem as before occurs with the latest snapshot.
> 
> Ken
> 

Make sure the results are as you state, and not just random.
./a0.exe   # does it fail ?
./a1.exe   # does it work ?
./a0.exe   # does it fail ?
./a1.exe   # does it work ?

External conditions might play its role.
-- 
View this message in context: http://old.nabble.com/Problem-redirecting-stderr-to-pipe-in-subprocess-tp32616089p32620797.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]