Modify

Opened 17 years ago

Closed 17 years ago

#880 closed Bug (No Bug)

Run RunWait Error with Working Dir Parameter

Reported by: mleo2003@… 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)

BugTest.au3 (621 bytes ) - added by mleo2003@… 17 years ago.
Sample Script

Download all attachments as: .zip

Change History (4)

by mleo2003@…, 17 years ago

Attachment: BugTest.au3 added

Sample Script

comment:1 by Jos, 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 Jos, 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 Valik, 17 years ago

Resolution: No Bug
Status: newclosed

Nothing to see here. Definitely not a bug.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.