aboutsummaryrefslogtreecommitdiff
path: root/voerbak/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'voerbak/test.py')
-rw-r--r--voerbak/test.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/voerbak/test.py b/voerbak/test.py
index 8cc1db9..6481817 100644
--- a/voerbak/test.py
+++ b/voerbak/test.py
@@ -4,10 +4,9 @@ w = 7
h = 6
column = 3
-process = subprocess.Popen(["./voerbak"],
- stdin=subprocess.PIPE,
- stdout=subprocess.PIPE,
- stderr=None)
+process = subprocess.Popen(
+ ["./voerbak"], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=None
+)
process.stdin.write(bytearray(f"{w} {h}\n", "utf-8"))
process.stdin.flush()
@@ -21,4 +20,3 @@ process.stdin.flush()
# sys.stdout.write(c)
print(process.stdout.readlines(5))
-