#880 closed Bug (No Bug)
Run RunWait Error with Working Dir Parameter
| Reported by: | Owned by: | ||
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.0.0 | Severity: | None |
| Keywords: | Cc: |
Description
When trying to run a script located in the ScriptDir, if your working directory is changed, the Run() function will not work with those files until you use FileChangeDir() to set the working dir back.
A test script is attached, MsgBox.exe is just a simple AutoIt compiled script, with just a message box saying "It worked...", for testing. The issue won't show up if you save the sample script & program to your My Documents folder, the folder it changes to has to not be the same as the directory your file is saved in.
Attachments (1)
Change History (4)
by , on Mar 26, 2009 at 7:56:07 PM
| Attachment: | BugTest.au3 added |
|---|
comment:1 by , on Mar 26, 2009 at 8:11:51 PM
Not sure what you thing the BUIG is, but the Workdir parameter ísn't used to find the program being shelled.
comment:2 by , on Mar 26, 2009 at 8:29:46 PM
Let me try that again but this time without so many typos :)
Not sure what you think the BUG is, but the Workdir parameter ísn't used to find the program being shelled.
comment:3 by , on Mar 26, 2009 at 8:34:13 PM
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
Nothing to see here. Definitely not a bug.

Sample Script