The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Psh::Job - Data structure representing a shell job

SYNOPSIS

  use Psh::Job;

  $joblist= new Psh::Joblist();

  $job= $joblist->create_job($pid, $command);

  $job->continue; # send SIGCONT to the job

  $job->{pid}; # to access the PID of the job
  $job->{call}; # to access the (command) name of the job
  $job->{running}; # to check wether the job is running

DESCRIPTION

This class is to be used in conjunction with Psh::Joblist

AUTHOR

Markus Peter, warp@spin.de

SEE ALSO

Psh::Joblist(3).