Codebase list xd / upstream/3.12.0 icmake / run
upstream/3.12.0

Tree @upstream/3.12.0 (Download .tar.gz)

run @upstream/3.12.0raw · history · blame

int g_dryrun;       // set to 1 if envvar DRYRUN was set in main()


void runP(int testValue, string cmd)
{
    if (g_dryrun)
        printf(cmd, "\n");
    else
        system(testValue, cmd);
}

void run(string cmd)
{
    runP(0, cmd);
}