0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 17:34:47 -05:00

chore(docs): use cross-platform example in Deno.run jsdoc (#14754)

This commit is contained in:
Geert-Jan Zwiers 2022-05-31 01:44:16 +02:00 committed by GitHub
parent f0dd751190
commit d9ed5e905c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2434,8 +2434,9 @@ declare namespace Deno {
*
* ```ts
* const p = Deno.run({
* cmd: ["echo", "hello"],
* cmd: ["curl", "https://example.com"],
* });
* const status = await p.status();
* ```
*
* Subprocess uses same working directory as parent process unless `opt.cwd`