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

Setting IFS crashes PaSh #718

Open
sethsabar opened this issue Apr 27, 2024 · 0 comments
Open

Setting IFS crashes PaSh #718

sethsabar opened this issue Apr 27, 2024 · 0 comments

Comments

@sethsabar
Copy link

It seems like someone made a report already here #386 but indeed setting IFS does seem to incorrectly crash PaSh. Here are the steps to reproduce the issue with the following script:

IFS=/
echo "hi there"

expected behavior when running $PASH_TOP/pa.sh test.sh: hi there

actual behavior:

/pash/compiler/orchestrator_runtime/pash_prepare_call_compiler.sh: line 51: response_args[1]: unbound variable

and then Pash just hangs and must be terminated with a signal.

@sethsabar sethsabar changed the title Issue when setting IFS Setting IFS crashes PaSh Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant