Modal logo
GuideExamples
Reference
Releases
Playground
Log In Sign Up
JavaScript SDK Reference App CloudBucketMount Cls ClsInstance ContainerProcess Errors FileInfo FileType FileWatchEvent FileWatchEventType Function FunctionAutoscalerSettings FunctionCall FunctionStats Image LogEntry Logger LogLevel LogSource ModalClient ModalReadStream ModalWriteStream Probe Profile Proxy Queue Retries Sandbox SandboxCreateConnectCredentials SandboxSnapshot Secret SidecarContainer StdioBehavior StreamMode Tunnel Volume

StdioBehavior

Stdin is always present, but this option allow you to drop stdout or stderr if you don't need them. The default is "pipe", matching Node.js behavior.

If behavior is set to "ignore", the output streams will be empty.

type StdioBehavior = "pipe" | "ignore";
StdioBehavior
Modal logo Modal logo © Modal 2026
About Status Releases Documentation Slack Community Pricing Examples