in reply to Re: system calls
in thread system calls

Thanks for the suggestion. When I turned on warnings, it gives me the following error:

Can't spawn "cmd.exe": No such file or directory

Does that mean system calls are not accepted?

Replies are listed 'Best First'.
Re^3: system calls
by phaylon (Curate) on Apr 23, 2005 at 11:06 UTC
    I would try crashtest's Hint for specifying the absolute path to cmd.exe. I'm sorry but this is where my windows knowledge ends.

    Ordinary morality is for ordinary people. -- Aleister Crowley
Re^3: system calls
by jhourcle (Prior) on Apr 23, 2005 at 18:52 UTC

    It's been many, many years since I've had to actively support windows, but from what I remember, the two different Window codebases (the NT derivitives, vs. those that derived from DOS) used different calls to get to a shell. One of them used cmd while the other used command. (I have no idea what the file extensions were ... they might've been exe, com, or any of the other executable extensions in windows ... I also can't remember which was which)

    So, when one doesn't work -- try the other one. (if you had mentioned what version of Windows you were using, someone might be able to elliminate this as having been the problem).