def METHOD_NAME():
    os.chdir("/")
    orig_cwd = os.getcwd()
    assert tempfile.gettempdir() != orig_cwd
    cmd = Command(['/bin/ls', '/etc/passwd'],
                  work_dir=tempfile.gettempdir())
    cmd.execute()
    assert os.getcwd() == orig_cwd