We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In bash following prints nothing:
bash -c "echo x 1>&2" 2>/dev/null
In closh following prints x:
clojure -m closh.zero.frontend.rebel -e "echo x 1 >& 2" 2>/dev/null
I am not sure if it is possible to bend ProbessBuilder to make it work. We likely need to reach for lower level native APIs.
Some test cases:
(are [x y] (= (bash x) (closh-spawn y)) "echo x 1>&2" "echo x 1 >& 2" "bash -c \"echo err 1>&2; echo out\" 2>&1" "bash -c \"echo err 1>&2; echo out\" 2 >& 1" "bash -c \"echo err 1>&2; echo out\" 2>&1 | cat" "bash -c \"echo err 1>&2; echo out\" 2 >& 1 | cat")
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In bash following prints nothing:
In closh following prints x:
I am not sure if it is possible to bend ProbessBuilder to make it work. We likely need to reach for lower level native APIs.
Some test cases:
The text was updated successfully, but these errors were encountered: