/* Collection of code snippets by Arne Vajhøj */
/* (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) */
#include <windows.h>

int main()
{
    STARTUPINFO si;
    PROCESS_INFORMATION pi;
    ZeroMemory( &si, sizeof(si) );
    si.cb = sizeof(si);
    ZeroMemory( &pi, sizeof(pi) );
    CreateProcess( NULL, "p2.exe", NULL, NULL, FALSE,
                   CREATE_NO_WINDOW | DETACHED_PROCESS | IDLE_PRIORITY_CLASS,
                   NULL, NULL, &si, &pi );
    return 0;
}
