diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/spawn.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/spawn.ts b/examples/spawn.ts index c29cc4f21..ff53d84ea 100644 --- a/examples/spawn.ts +++ b/examples/spawn.ts @@ -18,6 +18,6 @@ const proc = spawn({ const result = await readableStreamToText(proc.stdout); -await proc.exitStatus; +await proc.exited(); console.log(result); |