IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 14, 2005, 8:18:09 AM (21 years ago)
Author:
eugene
Message:

updating user commands

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pantasks/job.c

    r4539 r4552  
    1 # include "pcontrol.h"
     1# include "scheduler.h"
     2
     3/* this will require a bit of care: to define a job, we need
     4   to specify:
     5   - the command
     6     this is defined in the job command: job argv0 argv1 argv2...
     7   - timeout (an option to the command)
     8   - exit macros?
     9     do nothing by default?
     10   - stderr / stdout disposal?
     11     save in a specific buffer by default?
     12     send to a file?
     13
     14   the command can look just like the controller equivalent one:
     15   job [-host host] [-timeout timeout] args...
     16
     17*/
    218
    319int job (int argc, char **argv) {
Note: See TracChangeset for help on using the changeset viewer.