Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # First curl command to existing JS console running on my machine
- curl_command = <curl command here>
- cmd = shlex.split(curl_command)
- subprocess.Popen(cmd, stderr=subprocess.DEVNULL)
- # Different curl command
- self.other_command = self._other_curl_command()
- # Interact with an existing JS console running on my machine
- output_one = call_one()
- output_two = call_two()
- output_three = call_three()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement