]> gitweb.factorcode.org Git - factor.git/commit
unix.process: Add posix_spawn stub.
authorDoug Coleman <doug.coleman@gmail.com>
Sun, 15 Mar 2020 22:18:37 +0000 (17:18 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 15 Mar 2020 22:23:21 +0000 (17:23 -0500)
commit5cc97a4d1b8e8685cf53c9bf0a3d19bea99a428d
tree4f094efe3b690fc8056bb7a6fd957850b98a2615
parent8c97ea20deaa309424886aa16f3b4683f086ec56
unix.process: Add posix_spawn stub.

I couldn't get this to work in all cases to replace spawn-process yet.

```
! works
{ "/bin/ls" "-al" } posix-spawn-args-with-path

! Broken on Linux64 for some reason
{
    "/usr/bin/code"
    "-g"
    "-r"
    "/home/erg/factor-master/basis/io/launcher/launcher.factor"
} posix-spawn-args-with-path
```
basis/unix/process/process.factor
basis/unix/types/linux/linux.factor