def fix_argv(argv, path, main):
    if not path[0]:
        try:
            name = main_module_name(main)
        except AttributeError:
            pass
        else:
            argv = argv[:]
            argv[0] = '{0} -m {1}'.format(
                get_executable(sys.executable, 'python'), name)
    else:
        name = get_executable(argv[0], argv[0])
        argv = argv[:]
        argv[0] = name
    return argv
Properly display ``python -m`` invocations
dataset/ETHPy150Open epsy/clize/clize/runner.py/fix_argv