Add snapshot.py
This commit is contained in:
parent
6c3bf92596
commit
36e4103d65
Binary file not shown.
10
scripts/snapshots.py
Normal file
10
scripts/snapshots.py
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
import os
|
||||||
|
import subprocess
|
||||||
|
|
||||||
|
os.chdir("/home/raabe")
|
||||||
|
# os.system("ls")
|
||||||
|
|
||||||
|
# process = subprocess.run(["ls", "-al"], stdout=subprocess.PIPE, universal_newlines=True)
|
||||||
|
process = subprocess.run(["ls", "-al"], stdout=subprocess.PIPE)
|
||||||
|
# print(process.stdout)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user