Re: system_exec() on Linux
- Posted by Julio C. Galaret Viera <galaret at ?dinet.co?.uy> Oct 10, 2007
- 616 views
Robert Craig wrote: > > Julio C. Galaret Viera wrote: > > According docs: "If it is not possible to run the program, system_exec() > > will > > return -1." > > > > While that happens on Windows, on Linux does not return -1 when trying to > > run > > a program that does not exist. > > > > Euphoria v. 2.5/3.l.1 > > I tried the system_exec() example on Linux. > It didn't return a -1 error code, but did > return a non-zero code (32512) which indicates an error. > Is that what you got? > Maybe I just need to change the documentation. > > Regards, > Rob Craig > Rapid Deployment Software > <a href="http://www.RapidEuphoria.com">http://www.RapidEuphoria.com</a> Yes, I got that non-zero code but if successful also returns a non-zero code. Can I rely on 32512 as being always returned when failing to run? Regards