Opened 17 years ago
Closed 17 years ago
#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 , 17 years ago
| Attachment: | BugTest.au3 added |
|---|
comment:1 by , 17 years ago
Not sure what you thing the BUIG is, but the Workdir parameter ísn't used to find the program being shelled.
comment:2 by , 17 years ago
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 , 17 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
Nothing to see here. Definitely not a bug.

Sample Script