Skip to main content

Module shelljs

Module shelljs 

Source
Expand description

ShellJS-style asynchronous command calls backed by the portable command engine. Sessions own their cwd, directory stack, configuration and errors. See js/docs/SHELLJS_MIGRATION.md for the JavaScript/Rust mapping and limits.

Structsยง

Config
Configuration for a ShellJS-style session.
ShellJs
A portable Rust counterpart of the ShellJS command-call interface. Arguments are individual values; command calls never concatenate them as shell syntax. Unlike JavaScript ShellJS, cwd changes affect this session only.