Module vibe.core.process Functions and structures for dealing with subprocesses and pipes.
This module is modeled after std.process, but provides a fiber-aware
alternative to it. All blocking operations will yield the calling fiber
instead of blocking it.
Functions
Name Description
adoptProcessID (pid)
Register a process with vibe for fibre-aware handling. This process can be
started from anywhere including external libraries or std.process.
execute (args, env, config, maxOutput, workDir)
Equivalent to std . process . execute
.
executeShell (command, env, config, maxOutput, workDir, shellPath)
Equivalent to std . process . execute
.
pipe ()
Create a pipe, async equivalent of std . process . pipe
.
pipeProcess (args, redirect, env, config, workDir)
Equivalent to std . process . pipeProcess
.
pipeShell (command, redirect, env, config, workDir, shellPath)
Equivalent to std . process . pipeProcess
.
spawnProcess (args, env, config, workDir)
Equivalent to std . process . spawnProcess
.
spawnShell (command, env, config, workDir, shellPath)
Equivalent to std . process . spawnProcess
.
userShell ()
Path to the user's preferred command interpreter.
Enums
Name Description
Config
Equivalent to std . process . Config
except with less flag support
Global variables
Name Type Description
nativeShell
const ( GenericPath !(vibe.core.path.PosixPathFormat))
The platform specific native shell path.
Authors
Copyright
License