socket icon indicating copy to clipboard operation
socket copied to clipboard

Unable to spawn child_process (Windows platform, possible regression issue)

Open scsmash3r opened this issue 1 year ago • 0 comments

Sample code:

import { spawn, exec } from "socket:child_process";
const { stdout } = await exec("echo 1"); // returns win32 alert window
const child = spawn("ssc", ["-v"]); // returns win32 alert window

image

What OS are you using (uname -a, or Windows version)?

Windows 10 22H2 (64bit)

What version Socket Runtime are you using?

0.6.0-rc.8 (20424ea8)

What programming language are you using (C/C++/Go/Rust)?

rustc 1.82.0 (f6e511eec 2024-10-15)

What did you expect to see and what you saw instead?

Expecting exec or spawn to execute or spawn process.

scsmash3r avatar Nov 09 '24 22:11 scsmash3r