octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #43036] popen2 on Windows fails quietly if com


From: Colin Macdonald
Subject: [Octave-bug-tracker] [bug #43036] popen2 on Windows fails quietly if command writes to stderr
Date: Wed, 27 Aug 2014 13:24:59 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0

Follow-up Comment #7, bug #43036 (project octave):

Ok, good so you see the same as me now.

If ping writes to stderr, then you'd only get Hello 1, so that is one
possibility for the other result.

I also got some strange results when I tried to redir ping's stderr to NUL
(add "2> NUL" to the ping calls).  Basically I could see the "hello stderr"
msg.  But I could not see the "NOW WE TALK TO STDERR" msg.  Very odd, although
its possible that I don't understand batch scripts and I'm redirecting
something other than the ping output!  I'll attach that .bat file in case its
helpful.

Back to my original report: Do you know whether we are running the
"roll-your-own popen2 from lo-sysdep.cc"?  IIRC, non-posix systems don't have
pipes so it must be emulated somewhere, the question is, by the MXE stuff or
by the implementation in lo-sysdep.cc?


(file #31983)
    _______________________________________________________

Additional Item Attachment:

File name: echo_bug_wierd.m               Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43036>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]