andygello555 / sttp

A HTTP client that is also a scripting language/test framework. Can be used as an external framework for testing Web APIs as well as a tool for scraping static web pages.
GNU General Public License v3.0
2 stars 0 forks source link

Builtin subprocess function #8

Open andygello555 opened 2 years ago

andygello555 commented 2 years ago

Similar to python subprocess module. Start a subprocess for the given command:

proc = subprocess("ls -lah");

The returned object contains some info on the process as well as some functions:

// Send a signal
proc.signal(9);
// Short-hand for the above
proc.kill();