toStdout "ls" feels like we want to send a string a to stdout. We can use an explicit "run" or "exec" in the name to make it explicit that we are executing it as a command.
There are three types of APIs, source, sink and pipe. We can use the following scheme to indicate that it generates output only, takes input only or does both:
- runGenBytes (currently toBytes) - altrenative runToBytes
- runSinkBytes - alternative runUseBytes
- runPipeBytes (currently pipeBytes)
For a pure side effect command without any input or output we can use "run". For standalone processes:
- runStandalone
- runForeground
- runDaemon
toStdout "ls" feels like we want to send a string a to stdout. We can use an explicit "run" or "exec" in the name to make it explicit that we are executing it as a command.
There are three types of APIs, source, sink and pipe. We can use the following scheme to indicate that it generates output only, takes input only or does both:
For a pure side effect command without any input or output we can use "run". For standalone processes: