0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-09 13:49:37 -04: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 Bartek Iwańczuk
parent 58f8edc833
commit 81a8cc44cd
No known key found for this signature in database
GPG key ID: 0C6BCDDC3B3AD750

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`