stubproc

command
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2026 License: AGPL-3.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command stubproc is a stand-in for any vendor CLI a preset invokes.

It records the argv, working directory and stdin it was called with, and can be told to fail, hang, create an output file, print a line, or emit OpenJD progress lines. Those settings come from SQI_STUB_* environment variables. Installed on a worker's PATH under a preset's real command name (Render, ffmpeg, kick, aerender), it lets a test run a preset end to end with no license and no vendor install. This is Tier 3 of the preset validation harness.

It lives under test/ rather than cmd/ so that it never appears in a release archive. Nothing in the server or worker imports it.

Stdin is recorded because some CLIs (modo_cl, for one) can be driven by commands piped in rather than by argv, and a test of such a CLI asserts on stdin.

Directories

Path Synopsis
Package record is the wire shape of one stubproc invocation record.
Package record is the wire shape of one stubproc invocation record.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL