docs.rs failed to build rong_command-0.6.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
rong_command
Command execution APIs mounted on the Rong namespace.
Embedder authority
init() installs the JavaScript APIs with no host gate — the historical
behavior used by rong_modules and scripts.
Hosts that must bind process execution to a live session grant should call
init_with_authority instead. The authority is sealed on the JSContext:
JavaScript cannot install or replace it, a second installer is rejected, and a
failing authorize kills in-flight children and refuses retained handles.
use Arc;
use ;
;
init_with_authority?;
JS APIs
Rong.spawn(...)- async subprocess wrapper with streams, timeouts, and exit hooksRong.spawnSync(...)- synchronous subprocess execution with capturedstdout/stderrRong.stdin/Rong.stdout/Rong.stderr- runtime stdio handles on theRongnamespaceRong.$- shell template tag with.text(),.json(),.lines(),.blob(),.run(),.quiet(),.nothrow(), and.cwd()