library/src/filesystem/BP-Filesystem.cc
// Attempts to check if an application is still running (using getpgid)
Attempts to check if an application is still running (using getpgid)
Attempts to check if an application is still running ( using getpgid )
BP_ERROR_T BP_FExecApplicationStillRunning(P_BP_FDSET app)
{
	if(!app)
		return ERR_FAILURE;
	if(getpgid(app->pid) == -1)
		return ERR_FAILURE;
	return ERR_SUCCESS;
}
BP_ERROR_T BP_FExecApplicationStillRunning ( P_BP_FDSET app ) { if ( ! app ) return ERR_FAILURE ; if ( getpgid ( app -> pid ) == -1 ) return ERR_FAILURE ; return ERR_SUCCESS ; }
Attempts to check if an application is still running (using getpgid)
Attempts to check if an application is still running ( using getpgid )
// if we have no app to kill, exit // attempt to get process group id // return success if getpgid is successful