Jetson Inference
DNN Vision Library

Static functions for retrieving information about the running process. More...

#include <Process.h>

Static Public Member Functions

static pid_t GetID ()
 Get process ID (PID) More...
 
static pid_t GetParentID ()
 Get the parent's process ID. More...
 
static void Fork ()
 Duplicate the calling process. More...
 
static std::string ExecutablePath ()
 Retrieve the absolute path of the calling process executable, including the process' filename. More...
 
static std::string ExecutableDirectory ()
 Retrieve the directory that the process executable resides in. More...
 
static std::string WorkingDirectory ()
 Retrieve the current working directory of the process. More...
 

Detailed Description

Static functions for retrieving information about the running process.

Member Function Documentation

◆ ExecutableDirectory()

static std::string Process::ExecutableDirectory ( )
static

Retrieve the directory that the process executable resides in.

◆ ExecutablePath()

static std::string Process::ExecutablePath ( )
static

Retrieve the absolute path of the calling process executable, including the process' filename.

◆ Fork()

static void Process::Fork ( )
static

Duplicate the calling process.

◆ GetID()

static pid_t Process::GetID ( )
static

Get process ID (PID)

◆ GetParentID()

static pid_t Process::GetParentID ( )
static

Get the parent's process ID.

◆ WorkingDirectory()

static std::string Process::WorkingDirectory ( )
static

Retrieve the current working directory of the process.


The documentation for this class was generated from the following file: