might be related to Create new child shell?
the program I want to run expects a piped input via stdin.