RE: gawk : Input file remaining locked after program termination

2002-12-17 Thread Capiez Lionel
Thank you for your answer. Comments follow. > This will attempt to spawn a copy of notepad for every line in > the file foobar in background and then returns the command's status. > In other words gawk will not wait for the notepad command to > complete before moving to the next line in foobar

gawk : Input file remaining locked after program termination

2002-12-16 Thread Capiez Lionel
Hi, I have a gawk program that parses a file and spawns (as needed) an external (non-gawk) program through the 'system(...)' built-in function. If the external program remains active after gawk's termination, the file that was used as the input to gawk remains locked and can not be modified. Here