You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If Remote Administration is enabled on an app or prcs domain, psadmin will spawn an rmiregistry window that prevents psadmin from exiting the subshell. If running psa on the server, you will see a new cmd window that is running rmiregistry. If you disable Remote Administration, the psa start app and psa start prcs commands run to success.
The text was updated successfully, but these errors were encountered:
The issue appears to be ruby trying to capture STDOUT and assigning it to a variable. We really don't need the STDOUT in a variable for psadmin start commands. So, adding an additional argument to do_cmd, which defaults to output = true. Goal would be to update the do_cmd call from the do_start methods and pass in false for output argument. When that is done, out = #{cmd} becomes system("#{cmd}"). Ruby still prints the STDOUT and waits for it to finish, but now it doesn't hang on the end, waiting for child processes like rmiregistry to finish.
# from do_start method
do_cmd(start_app_cmd,true,true,false)
# from do_cmd method
when "windows"
case powershell
when true
case "#{PS_PSA_DEBUG}"
when "true"
p "Command: powershell -NoProfile -Command \"#{cmd}\""
end
if output
out = `powershell -NoProfile -Command "#{cmd}"`
else
system("powershell -NoProfile -Command \"#{cmd}\"")
end
If
Remote Administration
is enabled on an app or prcs domain,psadmin
will spawn anrmiregistry
window that preventspsadmin
from exiting the subshell. If runningpsa
on the server, you will see a newcmd
window that is runningrmiregistry
. If you disableRemote Administration
, thepsa start app
andpsa start prcs
commands run to success.The text was updated successfully, but these errors were encountered: