IBM Support

What is the difference between the RUNDETACHED and RUNHIDDEN commands?

Technote (troubleshooting)


Problem(Abstract)

The "rundetached" command modifies the "run" command by setting the DETACHED_PROCESS flag when calling CreateProcess(). This inhibits the default behavior of the created process inheriting the parent process's console.

Resolving the problem

The "rundetached" command modifies the "run" command by setting the DETACHED_PROCESS flag when calling CreateProcess(). This inhibits the default behavior of the created process inheriting the parent process's console. This gives the new process some more control over how they may interact with the user.

The "runhidden" command modifies the "run" command by adding the STARTUPINFO wShowWindow parameter as SW_HIDE in the CreateProcess call. This controls the default behavior of the created process concerning it's visibility on the display (specifically, the process window(s) will not be displayed). The created process may modify that behavior itself while it is running.

Both of these commands are Windows-specific and do not apply to Unix/Linux or Macintosh clients.

For more information on these two commands, refer to the TEM Action Guide: http://support.bigfix.com/fixlet/documents/WinActions_81_110817.pdf


Page 14 for the rundetached command.

Page 13 for the run command.

Historical Number

1647

Document information

More support for: IBM BigFix family

Software version: All Versions

Operating system(s): Platform Independent

Software edition: All Editions

Reference #: 1506209

Modified date: 20 August 2014


Translate this page: