shtk_process_run man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

SHTK_PROCESS_RUN(3)	 BSD Library Functions Manual	   SHTK_PROCESS_RUN(3)

NAME
     shtk_process_run — Executes a command in a controlled environment

LIBRARY
     shtk_import run

SYNOPSIS
     shtk_process_run [-t seconds] command [arg1 .. argN]

DESCRIPTION
     The shtk_process_run function executes the command provided in the list
     of arguments starting at command and logs, using the logging functions
     offered by shtk_cli(3), the invocation of the command and its termination
     status.

     Optionally, shtk_process_run can enforce a maximum run time for the exe‐
     cuted command.  If the -t is provided, then the executed command will be
     forcibly terminated with a ‘KILL’ signal if its run time exceeds the
     given seconds.

RETURN VALUES
     shtk_process_run returns the exit code of the executed command, or 127 if
     a timeout was provided and the command timed out.

SEE ALSO
     shtk(3), shtk_process(3)

HISTORY
     shtk_process_run first appeared in shtk 1.0.

     The -t flag appeared in shtk 1.5.

BSD			       November 7, 2014				   BSD
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net