tech-pkg archive

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

Re: Fix pkg_install on macOS Monterey



* On 2021-11-03 at 11:49 GMT, David Brownlee wrote:

Dumb question - could posix_spawn be used (and does it exhibit the same issue)?

Yeh it could, I discounted it as it has the same problems as system() (the chdir() is being performed in the parent process), and I'm not convinced it's very portable, but I could be wrong.

I added that implementation as a comment here:

  https://gist.github.com/jperkin/6e66a8753ec8039b298cac7b57f2a7de#gistcomment-3949644

Cheers,

--
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index