system (./a.out &); #### ./a.out & echo $! > /tmp/pidfile