Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

Util.Process

Description

Utilities to deal with processes.

Synopsis

# Documentation

Similar to Process.readProcessWithExitCode but return ByteStrings instead of String.

Start a subprocess, wait for it to complete, and kill it if this thread is killed. This is like Async.withAsync, except for a subprocess, and it's hardcoded to wait for the subprocess.

Start multiple processes, and kill them all if this thread is killed.

Wait for the process (if it started) and log if it didn't exit successfully.

Like Process.createProcess, but log if the binary wasn't found or failed.

Like Process.createProcess, but return a Nothing instead of a pid if the binary doesn't exist.

showt :: Show a => a -> Text Source #