spawn-process

Community

Spawn subprocesses reliably with vite_command

Authorwfvue
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Subprocess execution in Rust can be error-prone when using direct APIs like std::process::Command or tokio::process. This skill guides adopting the vite_command crate to reliably resolve binaries, prepare commands, and execute them with predictable environments.

Core Features & Use Cases

  • Resolve binaries portably across platforms via vite_command::resolve_bin.
  • Build and configure commands with vite_command::build_command and shell commands with vite_command::build_shell_command.
  • Run end-to-end with vite_command::run_command to combine resolution, building, and execution.
  • Use cases include running linters, build tools, or any external program with controlled cwd and environment.

Quick Start

Spawn a subprocess by resolving the binary with vite_command::resolve_bin and then execute it with vite_command::build_command.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: spawn-process
Download link: https://github.com/wfvue/SynapSH/archive/main.zip#spawn-process

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.