Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the 'Use Growl to monitor long-running shell commands' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Use Growl to monitor long-running shell commands
Authored by: sapporo on Fri, Oct 12 2007 at 1:40AM PDT
To debug the "Some Command" problem, you could start by adding a line to preexec() that displays the command it stores in the environment:
function preexec () {
	export PREEXEC_CMD="$BASH_COMMAND"
	echo "DEBUG: PREEXEC_CMD set to '$BASH_COMMAND'"
	export PREEXEC_TIME=$(date +'%s')
}
If that looks correct, then something goes wrong in precmd().

[ Reply to This | # ]