Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
scsmash3r opened this issue Nov 9, 2024 · 0 comments
Assignees
Labels
bug Something isn't working runtime An issue, task, or discussion related to the runtime core windows

Comments

@scsmash3r
Copy link

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.

@jwerle jwerle self-assigned this Nov 15, 2024
@jwerle jwerle added bug Something isn't working windows runtime An issue, task, or discussion related to the runtime core labels Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working runtime An issue, task, or discussion related to the runtime core windows
Projects
None yet
Development

No branches or pull requests

2 participants