execl (EXE_FILE, "../src/merc.exe", buf, "copyover", buf2, (char *) NULL);
act_comm.c bounty.c dragon.h kingdom.c monk3.c startup
act_info.c clan.c drow.c leader.c monk.c string.c
act_move.c clan_list.c fight.c low_act.c monk.h update.c
act_obj.c clans.h garou.c low_misc.c ninja.c vamp.c
act_wiz.c comm.c garou.h low_wiz.c obj warlock.c
arena.c config.c handler.c mage.c olc.c warlock.h
arena.h config.sys highlander.c magic.c old.h wizutil.c
backup const.c interp.c Makefile player.h
bit.c db.c kav_fight.c merc.exe rot_wiz.c
board.c demon.c kav_info.c merc.h save.c
board.h dempowers.c kav_wiz.c monk2.c special.c
$ cat getchar.c
#include <stdio.h>
main() {getchar();}
$ gcc getchar.c ; ./a &
[1] 3560
$ ps
PID PPID PGID WINPID TTY UID STIME COMMAND
5588 1 5588 5588 con 1000 02:21:09 /usr/bin/rxvt
4508 5588 4508 6120 0 1000 02:21:09 /usr/bin/bash
S 3560 4508 3560 5960 0 1000 15:27:37 /home/jlambert/a
5320 4508 5320 5952 0 1000 15:27:43 /usr/bin/ps
$ rm -f a.exe
rm: cannot remove `a.exe': Permission denied
$ gcc getchar.c
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot open output file a.exe: Device or resource busy
collect2: ld returned 1 exit status
$ mv a.exe old_a.exe
$ rm -f a.exe
$ gcc getchar.c
$ ps
PID PPID PGID WINPID TTY UID STIME COMMAND
5588 1 5588 5588 con 1000 02:21:09 /usr/bin/rxvt
4508 5588 4508 6120 0 1000 02:21:09 /usr/bin/bash
S 3560 4508 3560 5960 0 1000 15:27:37 /home/jlambert/a
5320 4508 5320 5952 0 1000 15:27:43 /usr/bin/ps
$ rm old_a.exe
rm: cannot remove `old_a.exe': Permission denied