Process

A handle to a process that ran inside a Pod

A Process is an opaque handle to a program that ran inside a Pod. It is returned by run once the process has exited.

class Process {}

Creating a Process

const process = await pod.run("node", ["script.js"], { terminal });

The Promise resolves to a Process when the program exits.

Was this page helpful?
Suggest changes