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

Deno.run.clearEnv requires invalid --unstable-process flag #22500

Closed
Sembiance opened this issue Feb 20, 2024 · 0 comments · Fixed by #24199
Closed

Deno.run.clearEnv requires invalid --unstable-process flag #22500

Sembiance opened this issue Feb 20, 2024 · 0 comments · Fixed by #24199
Labels
bug Something isn't working correctly cli related to cli/ dir

Comments

@Sembiance
Copy link
Contributor

Version: Deno 1.40.5

Running this code:

const p = Deno.run({cmd : ["pwd"], clearEnv : true});

With: deno run --allow-run test.js
yields: Unstable API 'Deno.run.clearEnv'. The --unstable-process flag must be provided.

That flag doesn't exist.

Trying this: deno run --allow-run --unstable-process test.js
yields: error: unexpected argument '--unstable-process' found

@lucacasonato lucacasonato added bug Something isn't working correctly cli related to cli/ dir labels Jun 13, 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 correctly cli related to cli/ dir
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants