Replies: 0 comments 8 replies
-
Running however through For comparison, running the same operation in Golang results in the correct output: |
Beta Was this translation helpful? Give feedback.
0 replies
-
You have a bug in your code on this line: if (process.platform === 'win32' && process.arch === 'x32') { Replace |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Version
16.15.0
Platform
Windows 11
Subsystem
No response
What steps will reproduce the bug?
I am trying to write automation scripts (like build scripts) in JavaScript so they run across all platforms supported by Node. I have been building a wrapper around
spawn
andspawnSync
that guarantees execution on all environments. I cannot use any third party libraries because I don't want people to have to runnpm install
before running my scripts. I am currently having trouble with the parsing of command line arguments in Windows.Create two files:
And
How often does it reproduce? Is there a required condition?
Every time
What is the expected behavior?
The terminal would have output:
What do you see instead?
The terminal I get the following output:
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions