Advertisement
BowserFlash13

Untitled

Apr 28th, 2020
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #!/usr/bin/env python
  2. import os
  3.  
  4.  
  5. pid = os.fork()
  6.  
  7. if pid > 0:
  8. print(os.uname())
  9. print(os.getlogin())
  10. os.wait()
  11. else:
  12. print(os.getpid())
  13. print(os.getppid())
  14. os.execvp("openssl", ["openssl", "version"])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement