Re: 2,5 install problem
- Posted by Robert Craig <rds at RapidEuphoria.com> Oct 13, 2005
- 467 views
Pete Lomax wrote: > Actually, Rob, was there anything obviously wrong with the command > line it was executing? It seemed to be forming the correct command line as I selected various options. > Should I be looking for anything other than a > result of -1 from system_exec in this case? I think for binding/shrouding you might as well use system() rather than system_exec(), and don't worry about the exit code. The binder can display an error message and wait for the user to hit a key. > It might be something I never quite understood: > I found I had to use "exw.exe bind.ex -w32 " > rather than "bindw" on 2.4. In the docs for system_exec() it says: "Comments: On DOS32 or WIN32, system_exec() will only run .exe and .com programs. To run .bat files, or built-in DOS commands, you need system()." bindw is actually bindw.bat This is all due to a limitation of DOS/Windows. It's not something I added to the Euphoria interpreter. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com