Re: Running programs in wine that are in the PATH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



KentonBomb wrote:
> I do alot of work with the Autoit V3 scripting language (http://autoitscript.com) which is a windows-based high-level language with most of the functionality of more mainstream languages [/walking billboard]
> 
> I used this language as a demonstration.
> 
> It seems like running programs in Wine do not respect the Linux PATH. It must be ran using the entire path I.E running "firefox", which would work in the terminal, does not work at all. running "/usr/bin/firefox" works fine. 
> 
> 
> Code:
> 
> Run("firefox")
> 
> 
> 
> Doesn't work
> 
> Code:
> 
> Run("/usr/bin/firefox")
> 
> 
> 
> Does work.
> 
> Is this a bug, or could this be added in the future?
> 
> Thanks.


This is not a bug this is by design. Wine has it's own PATH and does not use the PATH from the environment.

If you want to run arbitrary programs that are on UNIX PATH - start them with '/bin/sh -c program'






[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux