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

Bun.argv not correct with bun -e #8381

Closed
linux-china opened this issue Jan 23, 2024 · 0 comments · May be fixed by #17251
Closed

Bun.argv not correct with bun -e #8381

linux-china opened this issue Jan 23, 2024 · 0 comments · May be fixed by #17251
Labels
bug Something isn't working

Comments

@linux-china
Copy link

linux-china commented Jan 23, 2024

What version of Bun is running?

1.0.25

What platform is your computer?

Darwin 22.3.0 arm64 arm

What steps can reproduce the bug?

Run with bun -e 'console.log(Bun.argv)' first second third, and output as following

[ "/Users/xxx/.bun/bin/bun", "/Users/xxx/demo/[eval]",
  "second", "third"
]

and first param is ignored.

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants