def METHOD_NAME(cmd):
    """Win32 version of os.system() that works with network shares.
    Note that this implementation returns None, as meant for use in IPython.
    Parameters
    ----------
    cmd : str or list
        A command to be executed in the system shell.
    Returns
    -------
    int : child process' exit code.
    """
    # The controller provides interactivity with both
    # stdin and stdout
    #import _process_win32_controller
    #_process_win32_controller.system(cmd)
    with AvoidUNCPath() as path:
        if path is not None:
            cmd = '"pushd %s &&"%s' % (path, cmd)
        return process_handler(cmd, _system_body)