-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
iojs -i does nothing when -e is used #1197
Comments
I'm not sure
It appears to just be a switch to force a repl on strange terminals (with no other arguments). |
Yes, that's what it's for. I suspect that the expectation is that
Right now, it's rejected as a bad flag. I'd be fine with a PR that adds such functionality. |
If both -i and -e flags are specified, do not ignore the -i. Instead, launch the interactive REPL and start by evaluating the passed string. Fixes: nodejs#1197
There are really two separate issues here:
#5655 is a proposed fix to the first issue, but not the second one. |
#5655 has landed so |
If both -i and -e flags are specified, do not ignore the -i. Instead, launch the interactive REPL and start by evaluating the passed string. Fixes: #1197 PR-URL: #5655 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]>
The following command should evaluate that expression and then enter into the REPL, but it does not
The text was updated successfully, but these errors were encountered: