<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def fix_windows_command_list(commands):
 # type: (List[str]) -> List[str] """Return command list with working Windows commands. npm on windows is npm.cmd, which will blow up Similar issues arise when calling python apps like pipenv that will have a windows-only suffix applied to them """

    fully_qualified_cmd_path = which(commands[0])
    if fully_qualified_cmd_path and (
            not which(commands[0], add_win_suffixes=False)):
        commands[0] = os.path.basename(fully_qualified_cmd_path)
    return commands