i**********r 发帖数: 36 | 1 高手请看过来!
I have a tcsh script which calls a perl program which again call
system("xterm -fn 10x20 -e vim $title.html&");
$title is a string obtained in perl program.
this tcsh script works fine when I run in interactive mode. But when I
use cron daemon to call it, the system(...) won't be executed, the rest
part gives the desired results, though. The daemon email me about it, saying
sh: xterm: command not found
then I change the system(..) to
system("/usr/bin/X11/xterm -fn 10x20 -e vim $title.htm |
|