MCPcopy Index your code
hub / github.com/open-cli-tools/concurrently / CommandInfo

Interface CommandInfo

lib/command.ts:18–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16export type CommandIdentifier = string | number;
17
18export interface CommandInfo {
19 /**
20 * Command's name.
21 */
22 name: string;
23
24 /**
25 * Which command line the command has.
26 */
27 command: string;
28
29 /**
30 * Which environment variables should the spawned process have.
31 */
32 env?: Record<string, unknown>;
33
34 /**
35 * The current working directory of the process when spawned.
36 */
37 cwd?: string;
38
39 /**
40 * Color to use on prefix of the command.
41 */
42 prefixColor?: string;
43
44 /**
45 * Whether sending of messages to/from this command (also known as "inter-process communication")
46 * should be enabled, and using which file descriptor number.
47 *
48 * If set, must be > 2.
49 */
50 ipc?: number;
51
52 /**
53 * Output command in raw format.
54 */
55 raw?: boolean;
56}
57
58export interface CloseEvent {
59 command: CommandInfo;

Callers

nothing calls this directly

Implementers 1

Commandlib/command.ts

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…