Inject Execution Debug Message
for measuring the performance of the until loop of the stderr connection.
This commit is contained in:
@ -696,6 +696,7 @@ func prepareCommandTTY(command string, currentNanoTime int64, privilegedExecutio
|
|||||||
// Take the command to be executed and wrap it to redirect stderr.
|
// Take the command to be executed and wrap it to redirect stderr.
|
||||||
stderrFifoPath := stderrFifo(currentNanoTime)
|
stderrFifoPath := stderrFifo(currentNanoTime)
|
||||||
command = fmt.Sprintf(stderrWrapperCommandFormat, stderrFifoPath, command, stderrFifoPath)
|
command = fmt.Sprintf(stderrWrapperCommandFormat, stderrFifoPath, command, stderrFifoPath)
|
||||||
|
command = injectStartDebugMessage(command, 0, 1)
|
||||||
|
|
||||||
command = setUserCommand(command, privilegedExecution)
|
command = setUserCommand(command, privilegedExecution)
|
||||||
command = unsetEnvironmentVariables(command)
|
command = unsetEnvironmentVariables(command)
|
||||||
|
Reference in New Issue
Block a user