Skip to content

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

@scsmash3r

Description

@scsmash3r

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 (20424ea)

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingruntimeAn issue, task, or discussion related to the runtime corewindows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions