The system command executes changes the current directory to the requested one .
However, the current version changes back to the original version only if there are no errors in execution.
Fixing code to change directory back even if the command fails.
The system command executes changes the current directory to the requested one .
However, the current version changes back to the original version only if there are no errors in execution.
Fixing code to change directory back even if the command fails.