def run_unattended_batch_command(command, command_log):
    # Make sure log exists
    run("touch %s" % command_log)

    with cd(env.dataprocessing_path):
        run("source %s/bin/activate; nohup %s >> %s < /dev/null &" % (env.env_path, command, command_log))
dataset/ETHPy150Open ireapps/census/censusweb/fabfile.py/run_unattended_batch_command/original