I have a problem with the function system. I execute a source like this: programa.pl #!/opt/perl/bin/perl . . . . . . . sub funcion_monitor () { ................ ................ system("nohup funcion_halt &"); }
sub funcion_halt () { system("programa.pl stop"); system("UNIX's command"); system("UNIX's command"); } system("programa.pl stop"); sub funcion_parar () { .................. .................. system("UNIX's command"); } when I run the function "funcion_monitor" this call to the function "funcion_halt" - it using the perl's function system and the UNIX' command nohup. The function funcion_halt call again to my programan with argument stop ( funcion_parar ). The function "function_para" run without problems, I haven't errors when I execute the program from command line - ./progrma.pl -, but when I use the same source in a cluster the two lines after "system("programa.pl stop"); doesn't runnig. I understand nothing. There are some problem with the command system in this case? Thank for all ___________________________________________________ Yahoo! Sorteos Consulta si tu número ha sido premiado en Yahoo! Sorteos http://loteria.yahoo.es -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]