Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Python: return bash output
jmunsch
Aug 12th, 2014
226
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.12 KB
| None
|
0
0
raw
download
clone
embed
print
report
import
subprocess
process
=
subprocess
.
Popen
(
[
"yourcommand"
]
,
stdout
=
subprocess
.
PIPE
)
result
=
process.
communicate
(
)
[
0
]
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
⭐⭐⭐MAKE $9OO INSTANTLY D A⭐⭐⭐
Java | 2 sec ago | 0.17 KB
⭐⭐⭐Make $15OO in 2O minutesV E⭐⭐⭐
Java | 3 sec ago | 0.17 KB
⭐✅ Jack's Profit Method ⭐
JavaScript | 5 sec ago | 0.25 KB
✅ Make $2500 in 20 minutes⭐⭐ 2
JavaScript | 7 sec ago | 0.27 KB
⭐⭐⭐Exchange Exploit⭐⭐⭐
Java | 13 sec ago | 0.17 KB
⭐ Instant BTC Profit Method ⭐
JavaScript | 15 sec ago | 0.25 KB
⭐⭐Exchange Exploit⭐ Z
JavaScript | 21 sec ago | 0.27 KB
⭐⭐⭐Exchange Exploit⭐⭐⭐
Java | 24 sec ago | 0.17 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!