Attempt to make erroneous#getCommandForRunningFile work on Windows