def create_spawnve(original_name):
    """
    os.spawnve(mode, path, args, env)
    os.spawnvpe(mode, file, args, env)
    """
    def new_spawnve(mode, path, args, env):
        import os
        send_process_created_message()
        return getattr(os, original_name)(mode, path, patch_args(args), env)
    return new_spawnve

    os.spawnve(mode, path, args, env)
    os.spawnvpe(mode, file, args, env)
    
debugger/src/_pydev_bundle/pydev_monkey.py