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

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

[Octave-bug-tracker] [bug #47840] exec segfaults on Windows


From: Tatsuro MATSUOKA
Subject: [Octave-bug-tracker] [bug #47840] exec segfaults on Windows
Date: Wed, 04 May 2016 02:55:27 +0000
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36

Follow-up Comment #2, bug #47840 (project octave):


>> exec("pause")
ans = -1


"pause" is internal command in cmd.exe so that you cannot directly
execute it. Therefore this is correct response because pause 
itself cannot be found.


>> exec("cmd", "/c pause")


is correct usage
And this causes the same phenomena as those caused by exec("ls", "-l")

  

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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