vt-utils-1.3.0.0: Vector and Text utilities

Safe HaskellNone
LanguageHaskell2010

VtUtils.Process

Description

Process spawning utilities

Synopsis

Documentation

processSpawnAndWait :: Text -> Vector Text -> Text -> IO Int Source #

Spawns a new process and waits for it to exit

Arguments:

  • executable :: Text: Path to executable binary
  • args :: Vector Text: Arguments to pass to executable
  • out :: Text Path to a file, where std output (both stdout and stderr) will be written

Return value: Process exit code