As exec with just one argument expands the system shell, I believe singular commands to Shirt are causing the shell to be expanded for the command.
I could be wrong, but I tried executing the following in Shirt on FreeBSD 10.1 and Arch Linux:
echo\ $SHELL
As expected, this yields my system shell's path echoed back to me.
Is there any way we can prevent this? I'm interested in OS development with Ruby and an independent shell is a must.
As exec with just one argument expands the system shell, I believe singular commands to Shirt are causing the shell to be expanded for the command.
I could be wrong, but I tried executing the following in Shirt on FreeBSD 10.1 and Arch Linux:
echo\ $SHELLAs expected, this yields my system shell's path echoed back to me.
Is there any way we can prevent this? I'm interested in OS development with Ruby and an independent shell is a must.