JSch for pbrun not working -


i tried execute pbrun using jsch. gets infinite loop. tried same program using jsch site examples execute command. tried session.setpty(true) before session. connect(). still, not working. please help.

i've found solution own research. can use pbrun -c option launch pbrun , command output in 1 shot. in case, have passwordless connectivity. pbrun su - username -c 'command'


Comments

Popular posts from this blog

json - Zend error Connection -

javascript - Trigger mouseenter when an animated element touches mouse -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -