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

javascript - Trigger mouseenter when an animated element touches mouse -

json - Zend error Connection -

java - Using Spring @Transactional with a combination of readOnly and write, when does this entity get committed? -