I have a script that uses backticks to run commands, capture the output and append it to a file. Someone requested that the script also output immediately to the screen. we are having troubles with some commands hanging, amd we want to know where the hang is. so if we could see the last output, we would know.

Is there an easy way to tweak backticks so it still captures the output but also tees the output to stdout?

also, the command that is hanging, I set an ALRM that has 'die' as its callback. but I end up with the backtick command.running as a zombie process. I have no idea why its doing that. but I dont think I have ever used ALRM either.


_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to