Add snapshot.py

This commit is contained in:
Stephan Raabe 2023-02-26 13:52:02 +01:00
parent 6c3bf92596
commit 36e4103d65
2 changed files with 10 additions and 0 deletions

10
scripts/snapshots.py Normal file
View 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)