[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[abcde] Re: [vorbis] What we need to make it
On Mon, Dec 25, 2000 at 04:24:47PM -0500, craig duncan wrote:
> A simple test confirms that ^C (abcde version 1.9.6) deletes the
> temporary directory and all the yet to be enocded wav files in it. I'm
> surprised that this wouldn't be apparent to anyone who uses it. I'm
> running Debian Linux (woody). Is this, as it seems, simply the way that
> it works or is there something about Debian that would make this
> different than how you seem to think it works?
I just triple-checked.
This only happens when abcde doesn't have a foreground process spawned (for
example, the gap between reading the last track and encoding the next
track). When that happens, the subshell used on lines 966-1010 recieves the
^C, exits without error, and the parent shell continues on line 1011, which
is the final cleanup.
Working around this should be relatively easy, trap HUP INT QUIT TERM and
then kill -INT the parent PID. (which I will deftly export prior to line
966...) I'll probably do that in 1.9.7.
--
Robert Woodcock - rcw@debian.org
"Life is sweat." -- Wichert Akkerman, typos and all.
To unsubscribe: echo unsubscribe | mail abcde-request@whimsica.lly.org