.
D 2000-10-26T01:02:39
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s1276\sBug\nVersion:\s8.1b1\nSubmitDate:\s'1999-02-23'\nLastModified:\s'1999-11-03'\nSeverity:\sCRIT\nStatus:\sReleased\nSubmitter:\spat\nChangedBy:\shershey\nRelatedBugIDs:\s1261\s1291\nOS:\sWindows\s98\nMachine:\sX86\nFixedDate:\s'1999-11-03'\nFixedInVersion:\s8.2\nClosedDate:\s'2000-10-25'\n\n\nName:\nChristopher\sNelson\n\nReproducibleScript:\nappend\senv(PATH)\s"C:/Program\sFiles/Netscape/Communicator/Program"\n#\sThe\sfollowing\sfailes\sto\sfind\snetscape\nset\sfullPath\s[auto_execok\snetscape]\n#\sThe\sfollowing\sreturns\sa\slist\nset\sfullPath\s[auto_execok\snetscape.exe]\n#\sThis\sis\show\sI\shave\sto\scope\swith\sthe\slist\nexec\s[lindex\s$fullPath\s0]\s&\n#\sThis\sis\show\sit\sworks\swithout\sspaces\nappend\senv(PATH)\s"C:\\\\program\\\\collwin"\n#\sThe\sfollowing\sfinds\scapture.exe\s...\nset\sfullPath\s[auto_execok\scapture]\n#\s...and\sreturns\sa\sstring\sI\scan\sexec\sdirectly\swithout\seval\sor\slindex.\nexec\s$fullPath\s&\n\n\n\n\n\n\nObservedBehavior:\nFile\sextensions\s(.exe,\setc.)\saren't\sadded\swhen\ssearching\son\spaths\swith\nspaces\sin\sthem.\n\nWhen\sa\sfile\sis\sfound\son\sa\spath\swith\sa\sspace\son\sit,\sit's\squoted\sin\ssuch\sa\nway\sthat\sit\shas\sto\sbe\seval'd\sor\sextracted\sfrom\sthe\slist.\n\n\n\n\nDesiredBehavior:\nauto_execok\sshould\sbehave\sthe\ssame\swhen\sthere\sis\swhitespace\sin\sa\nprogram's\spath\sas\swhen\sthere\sis\snot.\s\sI\swant\sto\sbe\sable\sto\sdo:\n\nset\sfullPath\s[auto_execok\snetscape]\nexec\s$fullPath\s&\n\n\n\n\n\n\nSpaces\sin\spath\snames\sneed\sto\sbe\shandled\scorrectly.\s\s03/23/1999\s18:38\s-\ssurles\s-\n\nThe\sspaces\sproblem\sworked,\sbut\sa\spath\sproblem\swas\sfixed\sin\s8.2b3.\nThe\srequired\slindex\swas\salways\snecessary\sand\sis\sas\sdoc'ed,\sit\sis\njust\sthat\sonly\sspaced\spaths\striggered\sthe\sneed.\s\n--\s08/07/1999\shobbs
J foundin obsolete:\s8.1b1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title auto_execok\sdoesn't\scope\swith\swhitespace\sin\spaths
J type RFE
K 218578ffffffffffffffffffffffffffffffffff
U nobody
Z ae071d3112d37374a8659a3ec0be681f