Re: EMX runtime and command line arguments
<[email protected]> Mon, 19 Jan 2004 11:31:08 +0100
| Newsgroups | gmane.comp.ide.emx.devel |
|---|---|
| Organization | http://freemail.web.de/ |
| Message-ID | <[email protected]> |
Andreas wrote: > Sigh. Okay, I have an arbitrary string which is supposed to be a command > line for cmd. This line may contain arbitrary calls to arbitrary programs, > EMX as well as non-EMX programs, builtin commands and an arbitrary number > of special characters like &"'\%$;. The job has to be executed as a child > process, i.e., I have to use spawn*(). And, the command should be processed > as if the line had been entered on a cmd command line, and no quote or > backslash or whatever may (dis)appear magically. > > How can I do this? system() Eberhard