Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. # First curl command to existing JS console running on my machine
  2. curl_command = <curl command here>
  3. cmd = shlex.split(curl_command)
  4. subprocess.Popen(cmd, stderr=subprocess.DEVNULL)
  5.  
  6. # Different curl command
  7. self.other_command = self._other_curl_command()
  8.  
  9. # Interact with an existing JS console running on my machine
  10. output_one = call_one()
  11. output_two = call_two()
  12. output_three = call_three()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement