On 3/2/2011 4:33 PM, Dave Snyder wrote: [... Exiting a USER command ...] > > Anyone have any brilliant ideas for ending the external program besides my @keyX solution. [...] Yes. When your program receives EOF on stdin, exit. No need for any special "I need to tell the USER program that I'm exiting" logic. -- Kenneth Brody