nixpulvis / oursh

Your comrade through the perilous world of UNIX.
http://nixpulvis.com/oursh/oursh
MIT License
67 stars 6 forks source link

Process Interface #4

Open nixpulvis opened 6 years ago

nixpulvis commented 6 years ago

Today I've written a little bit of code that uses fork, wait and execvp directly. There's built in support for this kind of thing in std::process, however I'm not 100% sure which approach will be needed yet. We either need to beef up the command interface inside mod job or replace it with something that exists.

Key features to support:

nixpulvis commented 5 years ago

https://users.rust-lang.org/t/prevent-program-from-exiting-on-child-sigint/7685/13

nixpulvis commented 5 years ago

https://www.gnu.org/software/libc/manual/html_node/Data-Structures.html#Data-Structures https://www.gnu.org/software/libc/manual/html_node/Launching-Jobs.html#Launching-Jobs