diff options
| author | Christine Dodrill <me@christine.website> | 2021-05-15 00:11:59 -0400 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2021-05-15 00:11:59 -0400 |
| commit | 50e57c427c8f8978d9125721c677bd935bb854e7 (patch) | |
| tree | f5d1cd848d7fdb4795fd7e71be9efb3c4d096485 /src/bin | |
| parent | 95bfc64097942affe48269ef322a318db104901a (diff) | |
| download | xesite-cheat-systemd.tar.xz xesite-cheat-systemd.zip | |
start cheating systemdcheat-systemd
Signed-off-by: Christine Dodrill <me@christine.website>
Diffstat (limited to 'src/bin')
| -rwxr-xr-x | src/bin/decoy.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/bin/decoy.py b/src/bin/decoy.py new file mode 100755 index 0000000..f985413 --- /dev/null +++ b/src/bin/decoy.py @@ -0,0 +1,13 @@ +#!/usr/bin/env nix-shell +#! nix-shell -p python3 -i python3 + +import os +import time + +pid = os.fork() +if pid == 0: + for fd in {0, 1, 2}: + os.close(fd) + time.sleep(1) +else: + print(pid) |
