mercurial/posix.py
changeset 49810 a9faacdc5943
parent 49310 050dc8730858
child 49811 0a91aba258e0
--- a/mercurial/posix.py	Thu Dec 15 15:46:25 2022 -0500
+++ b/mercurial/posix.py	Thu Dec 15 18:02:55 2022 -0500
@@ -625,7 +625,7 @@
     return pycompat.rapply(pycompat.fsencode, list(grp.getgrnam(name).gr_mem))
 
 
-def spawndetached(args):
+def spawndetached(args) -> int:
     return os.spawnvp(os.P_NOWAIT | getattr(os, 'P_DETACH', 0), args[0], args)