summaryrefslogtreecommitdiff
path: root/tools/wgpu_sync.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/wgpu_sync.js')
-rwxr-xr-xtools/wgpu_sync.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/wgpu_sync.js b/tools/wgpu_sync.js
index 4d343878b..7548c5515 100755
--- a/tools/wgpu_sync.js
+++ b/tools/wgpu_sync.js
@@ -9,12 +9,12 @@ const V_WGPU = "0.13";
const TARGET_DIR = join(ROOT_PATH, "ext", "webgpu");
async function bash(subcmd, opts = {}) {
- const { success, code } = await Deno.spawn("bash", {
+ const { success, code } = await new Deno.Command("bash", {
...opts,
args: ["-c", subcmd],
stdout: "inherit",
sdterr: "inherit",
- });
+ }).output();
// Exit process on failure
if (!success) {