Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sub Process - Curl #2

Open
LukeShirnia opened this issue Mar 23, 2017 · 0 comments
Open

Sub Process - Curl #2

LukeShirnia opened this issue Mar 23, 2017 · 0 comments

Comments

@LukeShirnia
Copy link
Owner

Change sub process to python

curl_response = subprocess.call(["curl --output /dev/null --silent --head --fail -k -m30 https://localhost:8743/remita/logonScreen.jsp -H 'Host: localhost'"], shell=True)
get_logger_entry = "Service was restarted on"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant