Skip to content

Commit

Permalink
Update clone.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jwbensley authored Nov 25, 2024
1 parent 6b87856 commit 77d2c8e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion clone.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
import subprocess
subprocess.run(
["mkdir", "-p", "/opt/dnas_data/"],
capture_output=True,
)
ret = subprocess.run(
["git", "clone", "[email protected]:DFZ-Name-and-Shame/dnas_stats.git", "/opt/dnas_data/"],
capture_output=True,
)
print(ret.returncode)
print(ret.stdout.decode())
print(ret.stderr.decode())
ret = subprocess.run(
["git", "clone", "[email protected]:DFZ-Name-and-Shame/dnas_stats.git"],
["ls", "-l", "/opt/dnas_data/"],
capture_output=True,
)
print(ret.returncode)
Expand Down

0 comments on commit 77d2c8e

Please sign in to comment.