When some scripts are executed, the stdout file is incomplete.

Document ID : KB000017404
Last Modified Date : 14/02/2018
Show Technical Document Details

Set the following parameters in the agentparm.txt file and recycle the agent :
oscomponent.cmdprefix.force=true
oscomponent.cmdprefix.force.redir.inline=true

oscomponent.cmdprefix.force.redir.inline
Sets whether the agent forces inline redirection. In some cases, such as Windows Server 2008 R2, inline redirection is required for the console to be displayed in Session 0.
true
Forces inline redirection using cmd.exe /c command args stdin_file >stdout_file >stderr_file.
Note: This parameter requires oscomponent.cmdprefix.force=true and affects FTP verbose mode. If regular redirection is used, the command ftp ?s:command_file will not output raw FTP commands with completion codes as per FTP protocol