betaveros / noulith

*slaps roof of [programming language]* this bad boy can fit so much [syntax sugar] into it
1.13k stars 20 forks source link

`run_process` with `stdin` #16

Closed crides closed 1 year ago

crides commented 1 year ago

Adds a overload to run_process where the third argument, if it exists, will be a byte string passed as stdin to the program

(would be helpful if run_process also returns the exit code, but not sure what would be a .. noulithic way to do that; may be better if noulith has normal attribute/member access :) )

betaveros commented 1 year ago

thanks! just needed this today :)