bash - Running a script in PowerBroker -


i'm trying script commands run inside pbrun shell. i've tried executing through normal script, doesn't work because, understanding, pbrun executed in won subshell, making hard, if not impossible, pass commands to.

the solution i'm thinking might work if have input/output text processor listens terminal , responds accordingly.

i able send commands standard input of pbrun:

echo 'echo $hostname' | pbrun bash 

Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -