AutoYADM commit: 2025-06-09 23:23:54
This commit is contained in:
parent
d0893f3708
commit
ac51e3f41e
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@ import os
|
||||||
import tempfile
|
import tempfile
|
||||||
import atexit
|
import atexit
|
||||||
|
|
||||||
|
|
||||||
Position = tuple[int, int]
|
Position = tuple[int, int]
|
||||||
SpecList = list[tuple[Position, Position]]
|
SpecList = list[tuple[Position, Position]]
|
||||||
|
|
||||||
|
@ -67,7 +68,7 @@ def gen_kakoune_output(inp: str, outp: str) -> str:
|
||||||
|
|
||||||
|
|
||||||
def daemonize():
|
def daemonize():
|
||||||
# exit parent
|
# fork and exit parent
|
||||||
if os.fork() > 0:
|
if os.fork() > 0:
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
# new session
|
# new session
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue