MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / inBackground

Method inBackground

Engine/source/platformPOSIX/POSIXUtils.cpp:70–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70bool UnixUtils::inBackground()
71{
72 int terminalGroupId = tcgetpgrp(fileno(stdin));
73 int myPid = getpid();
74 if (terminalGroupId != myPid)
75 return true;
76 else
77 return false;
78}
79
80//-----------------------------------------------------------------------------
81// UnixCommandExecutor

Callers 1

processMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected