Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    use File::Temp qw(tempfile);
    ...
        system("tvtime-command DISPLAY_MESSAGE \'Wait several minutes whil
    +e EPG updates...\'");
        sleep 1;
    }
    
  2. or download this
    #parent process
    while (! waitpid($pid, WNOHANG)) {
         my $status = system("ps aux | grep \[tv\]time");
    ...
             sleep 1;
            }
    }