Closed Raphael-Mabille closed 1 year ago
cd | pwd cd isn't executed in a child process and thus change to working directory of the shell.
cd | pwd
cd
$> _pwd_ /home/user/directory $> _cd | pwd_ /home/user/directory $>
$> _pwd_ /home/user/directory $> _cd | pwd_ $> /home/user/directory _pwd_ /home/user $>
Text between underscores is user input.
Fixing in #20.
Example
cd | pwd
cd
isn't executed in a child process and thus change to working directory of the shell.Expected result
Actual result
Text between underscores is user input.