[Top][All Lists]

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

Re: Introduce posix_spawn

From: Bernhard Voelker
Subject: Re: Introduce posix_spawn
Date: Fri, 7 Sep 2018 07:19:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 09/07/18 06:37, Barath Aron wrote:
>> Alternatively, one could direct the spawned process to run a program
>> that would set the working directory to, say, the first argument, and
>> then use the remaining arguments to run/fork/spawn the target program.
> Do you know systems that have this program? What is the name of this 
> utility program?

E.g. env(1) from GNU coreutils >= 8.28 (now: 8.30) has:

  env --help | grep DIR
    -C, --chdir=DIR      change working directory to DIR

Have a nice day,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]