Wine FAQ edits

Albert Lee trisk at forkgnu.org
Thu Feb 3 13:37:23 CST 2011


On Thu, Feb 3, 2011 at 12:32 PM, David Laight <david at l8s.co.uk> wrote:
> On Thu, Feb 03, 2011 at 11:17:39AM -0500, Albert Lee wrote:
>>
>> >
>> >> ?It's exec(2)'ed so it doesn't matter what the program is.
>> >
>> > Basically run in a shell. So you need an extra wrapper (env) why?
>>
>> To handle PATH search, since Wine requires an absolute path. This is a
>> common trick used for locating interpreters for e.g. Python as well.
>
> It does depend on 'env' being installed in a standard place!
> It is also rather a side effect of env's real purpose - sanitising
> the environment.
>

Absolutely, and I'll admit that /usr/bin/env is not quite as universal
as /bin/sh, but this is the second example after one that just uses
the simple absolute path to the executable.

-Albert



More information about the wine-devel mailing list