GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SHTK_PROCESS_RUN(3) FreeBSD Library Functions Manual SHTK_PROCESS_RUN(3)

shtk_process_run
Executes a command in a controlled environment

shtk_import run

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

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 executed 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.

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

shtk(3), shtk_process(3)

shtk_process_run first appeared in shtk 1.0.

The -t flag appeared in shtk 1.5.

November 7, 2014 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.