I thought that bash removed empty things before executing a command, but it only does it if they aren't quoted.
For example:
It should do:
"" echo -> bash: : command not found
But in our version it just worked like a regular echo because I removed this kind of token in the parser.
I think this bug propagated also into executor as your executor didn't handle empty executables or commands before.
I thought that bash removed empty things before executing a command, but it only does it if they aren't quoted.
For example:
It should do:
"" echo
-> bash: : command not foundBut in our version it just worked like a regular echo because I removed this kind of token in the parser. I think this bug propagated also into executor as your executor didn't handle empty executables or commands before.