Skip to content

An example Transflect stream that launches a subprocess and returns the result

Notifications You must be signed in to change notification settings

mixint/PathFork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PathFork

PathFork is a Transflect stream released with MIXINT v0.1.0. It executes the program passed to it from the URL pathname, and passes the &-separated arguments from the querystring. The body of the request is piped to stdin of the program, and stdout/stderr are buffered into arrays. Once the program exits, a response body includes a JSON object with source, error, stdin, stdout, stderr, and exit properties.

example screenshot showing output

Programs that run more than a few seconds may time out. To keep track of long running processes, including tailing the stdout / stderr of ongoing processes, an improvement called TeleFork is planned.

About

An example Transflect stream that launches a subprocess and returns the result

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published