DTEXEC(1)
π dtexec β execute command-based action π
okay so this is the dtexec(user cmd) page, bestie, and no cap itβs giving βsmall utility, big main character energy.β π«Ά
πΈ NAME πΈ
dtexec β execute command-based action
β¨ SYNOPSIS β¨
dtexec [-openopen_option] [-ttprocidprocid] [-tmptmpfile] [cmd]
[cmd_arg ...]
π¦ DESCRIPTION π¦
XCDE uses the dtexec utility to execute COMMAND actions. In normal usage, XCDE automatically invokes dtexec when it is needed. XCDE users and administrators do not need to interact directly with dtexec β itβs lowkey background main character energy, fr fr. β¨
The primary argument for dtexec is the name of a command to execute and any command-line options or arguments for that command. There are several important services that dtexec provides for the commands that it executes. These services are controlled via the options specified in the OPTIONS section in this document. π
β¨ OPTIONS β¨
The following options are available:
-open open_optionβ tellsdtexecwhether it should continue to run or exit after the command terminates.
The valid values for open_option are:
-1β (default) continue to execute aftercmdterminates.0β exit as soon ascmdterminates.nβ continue to execute ifcmdterminates withinnseconds of starting.
The values -1 and n are typically used when COMMAND actions are executed in a terminal emulator to control the lifetime of the terminal window. periodt. π
-ttprocid procidβ thedtexeccommand uses the-ttprocidoption to send ToolTalk messages back to the application that invoked theCOMMANDaction. These messages are used to convey status information (for example, the command has terminated). π¦-tmp tmpfileβ the-tmpoption names a temporary file thatdtexecremoves aftercmdterminates if either no-ttprocidoption is supplied or contact is lost with the specifiedprocid. In normal usage, the parent process that startsdtexecperforms this cleanup. This option can be issued multiple times, once for each tmp file present. Typically,tmpfilealso appears as acmd_arg. π
π EXIT STATUS π
The following exit values are returned:
0β implies all system resources were available to fork and exec the requested command, not that the requested command executed successfully.1β an error occurred.
π«Ά APPLICATION USAGE π«Ά
Normally, application programs do not directly invoke this program. Normally, an application program links with the action service, which then invokes dtexec as needed. Applications should use the waitTime resource to configure the value of the -open_option and the DtexecPath resource to configure the location of dtexec. β¨
If cmd writes to stderr, the error messages are time stamped and redirected to the userβs errorlog file ($HOME/.dt/errorlog) when open_option is 0. If open_option is set otherwise, the error messages are typically displayed in the terminal window. πΈ
π SEE ALSO π
xoxo, the dtexec(user cmd) page β the footer has no extra source/version/date deets, so this cute sign-off is the whole vibe, bestie ππ
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms