Overview
| Artifact ID: | a45e52e271de3947505402d4960322794b13693a |
|---|---|
| Ticket: | 432499ffffffffffffffffffffffffffffffffff
command string passed to exec not quoted |
| User & Date: | kenpoole on 2001-08-24 02:58:23 |
Changes
- icomment:
Logged In: YES user_id=68713 The problem occurs when KEP_EXEC_PROBLEM is not defined. Sorry about not being clearer ... as to a sample program to run, I dont see anything that would be "on all windows systems" ... it needs to be an application which has a space somewhere in its path (like any application in "c:\Program Files\...") that is also in the "PATH" enviroment variable such that in a "dos" window (cmd.exe on nt) it can be run by just typing the program name (without typing the absolute path). It (unfortunatly) seems to be machine specific ... I have two machines that show the problem here (both NT5), and some people around me dont see the problem ... I also sent the "modified" tcl83 exe to another of our sites since they were showing the same problem ... I dont know what the "differing" factor is between these boxes are ... What I do know is that when I modified the function BuildCommandLine to include the argument "executable" in the check for quoting (which is the affect of the above code change), then the "executable" string is quoted and the application executes as expected ...
- login: "kenpoole"
- mimetype: "text/plain"
- username: "kenpoole"