Fix for run_shell_command