From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from oldp.lowell.edu ([192.103.11.90]) by hawkwind.utcs.utoronto.ca with SMTP id <24177>; Sat, 10 Jun 1995 20:46:04 -0400 Received: by oldp.lowell.edu; id AA16136; Sat, 10 Jun 1995 17:46:13 -0700 Date: Sat, 10 Jun 1995 20:46:13 -0400 From: Alan Watson Message-Id: <9506110046.AA16136@oldp.lowell.edu> To: rc@hawkwind.utcs.toronto.edu Subject: rc handler/exec problem? After months (years?) without a problem, I've come across this little weirdo in rc. It would seem that rc is having problems generating the argument list for an exec in the signal handler. I first noticed this problem while trying to exec /bin/kill -TERM $apids from a sigint handler, as I got nothing but usage and : No such file or directory errors. I've reproduced it with /bin/echo (below). This happens on Alphas running v2.0 and v3.2 OSF/1. Someone please tell me I've done something really dumb. Be charitable and blame it on working too hard. Alan ; cat sigint.rc /bin/echo foo sleep 10 & fn sigint { /bin/echo foo } sleep 10 ; rc -x sigint.rc # and hit control-c /bin/echo foo foo sleep 10 fn sigint {/bin/echo foo} sleep 10 /bin/echo foo `}: No such file or directory