Fix multiprocessing crash on windows.
This commit is contained in:
parent
bc46d83452
commit
ac4b139b08
13
2dxutils
13
2dxutils
@ -1,9 +1,10 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
import os
|
if __name__ == "__main__":
|
||||||
path = os.path.abspath(os.path.dirname(__file__))
|
import os
|
||||||
|
path = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append(path)
|
sys.path.append(path)
|
||||||
|
|
||||||
import runpy
|
import runpy
|
||||||
runpy.run_module("bemani.utils.twodxutils", run_name="__main__")
|
runpy.run_module("bemani.utils.twodxutils", run_name="__main__")
|
15
afputils
15
afputils
@ -1,10 +1,11 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
import os
|
if __name__ == "__main__":
|
||||||
path = os.path.abspath(os.path.dirname(__file__))
|
import os
|
||||||
name = os.path.basename(__file__)
|
path = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
name = os.path.basename(__file__)
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append(path)
|
sys.path.append(path)
|
||||||
|
|
||||||
import runpy
|
import runpy
|
||||||
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
15
api
15
api
@ -1,10 +1,11 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
import os
|
if __name__ == "__main__":
|
||||||
path = os.path.abspath(os.path.dirname(__file__))
|
import os
|
||||||
name = os.path.basename(__file__)
|
path = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
name = os.path.basename(__file__)
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append(path)
|
sys.path.append(path)
|
||||||
|
|
||||||
import runpy
|
import runpy
|
||||||
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
15
arcutils
15
arcutils
@ -1,10 +1,11 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
import os
|
if __name__ == "__main__":
|
||||||
path = os.path.abspath(os.path.dirname(__file__))
|
import os
|
||||||
name = os.path.basename(__file__)
|
path = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
name = os.path.basename(__file__)
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append(path)
|
sys.path.append(path)
|
||||||
|
|
||||||
import runpy
|
import runpy
|
||||||
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
15
bemanishark
15
bemanishark
@ -1,10 +1,11 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
import os
|
if __name__ == "__main__":
|
||||||
path = os.path.abspath(os.path.dirname(__file__))
|
import os
|
||||||
name = os.path.basename(__file__)
|
path = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
name = os.path.basename(__file__)
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append(path)
|
sys.path.append(path)
|
||||||
|
|
||||||
import runpy
|
import runpy
|
||||||
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
15
binutils
15
binutils
@ -1,10 +1,11 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
import os
|
if __name__ == "__main__":
|
||||||
path = os.path.abspath(os.path.dirname(__file__))
|
import os
|
||||||
name = os.path.basename(__file__)
|
path = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
name = os.path.basename(__file__)
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append(path)
|
sys.path.append(path)
|
||||||
|
|
||||||
import runpy
|
import runpy
|
||||||
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
15
cardconvert
15
cardconvert
@ -1,10 +1,11 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
import os
|
if __name__ == "__main__":
|
||||||
path = os.path.abspath(os.path.dirname(__file__))
|
import os
|
||||||
name = os.path.basename(__file__)
|
path = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
name = os.path.basename(__file__)
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append(path)
|
sys.path.append(path)
|
||||||
|
|
||||||
import runpy
|
import runpy
|
||||||
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
15
dbutils
15
dbutils
@ -1,10 +1,11 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
import os
|
if __name__ == "__main__":
|
||||||
path = os.path.abspath(os.path.dirname(__file__))
|
import os
|
||||||
name = os.path.basename(__file__)
|
path = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
name = os.path.basename(__file__)
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append(path)
|
sys.path.append(path)
|
||||||
|
|
||||||
import runpy
|
import runpy
|
||||||
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
15
frontend
15
frontend
@ -1,10 +1,11 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
import os
|
if __name__ == "__main__":
|
||||||
path = os.path.abspath(os.path.dirname(__file__))
|
import os
|
||||||
name = os.path.basename(__file__)
|
path = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
name = os.path.basename(__file__)
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append(path)
|
sys.path.append(path)
|
||||||
|
|
||||||
import runpy
|
import runpy
|
||||||
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
15
ifsutils
15
ifsutils
@ -1,10 +1,11 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
import os
|
if __name__ == "__main__":
|
||||||
path = os.path.abspath(os.path.dirname(__file__))
|
import os
|
||||||
name = os.path.basename(__file__)
|
path = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
name = os.path.basename(__file__)
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append(path)
|
sys.path.append(path)
|
||||||
|
|
||||||
import runpy
|
import runpy
|
||||||
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
15
iidxutils
15
iidxutils
@ -1,10 +1,11 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
import os
|
if __name__ == "__main__":
|
||||||
path = os.path.abspath(os.path.dirname(__file__))
|
import os
|
||||||
name = os.path.basename(__file__)
|
path = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
name = os.path.basename(__file__)
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append(path)
|
sys.path.append(path)
|
||||||
|
|
||||||
import runpy
|
import runpy
|
||||||
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
15
proxy
15
proxy
@ -1,10 +1,11 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
import os
|
if __name__ == "__main__":
|
||||||
path = os.path.abspath(os.path.dirname(__file__))
|
import os
|
||||||
name = os.path.basename(__file__)
|
path = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
name = os.path.basename(__file__)
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append(path)
|
sys.path.append(path)
|
||||||
|
|
||||||
import runpy
|
import runpy
|
||||||
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
15
psmap
15
psmap
@ -1,10 +1,11 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
import os
|
if __name__ == "__main__":
|
||||||
path = os.path.abspath(os.path.dirname(__file__))
|
import os
|
||||||
name = os.path.basename(__file__)
|
path = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
name = os.path.basename(__file__)
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append(path)
|
sys.path.append(path)
|
||||||
|
|
||||||
import runpy
|
import runpy
|
||||||
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
15
read
15
read
@ -1,10 +1,11 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
import os
|
if __name__ == "__main__":
|
||||||
path = os.path.abspath(os.path.dirname(__file__))
|
import os
|
||||||
name = os.path.basename(__file__)
|
path = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
name = os.path.basename(__file__)
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append(path)
|
sys.path.append(path)
|
||||||
|
|
||||||
import runpy
|
import runpy
|
||||||
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
15
replay
15
replay
@ -1,10 +1,11 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
import os
|
if __name__ == "__main__":
|
||||||
path = os.path.abspath(os.path.dirname(__file__))
|
import os
|
||||||
name = os.path.basename(__file__)
|
path = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
name = os.path.basename(__file__)
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append(path)
|
sys.path.append(path)
|
||||||
|
|
||||||
import runpy
|
import runpy
|
||||||
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
15
responsegen
15
responsegen
@ -1,10 +1,11 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
import os
|
if __name__ == "__main__":
|
||||||
path = os.path.abspath(os.path.dirname(__file__))
|
import os
|
||||||
name = os.path.basename(__file__)
|
path = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
name = os.path.basename(__file__)
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append(path)
|
sys.path.append(path)
|
||||||
|
|
||||||
import runpy
|
import runpy
|
||||||
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
15
scheduler
15
scheduler
@ -1,10 +1,11 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
import os
|
if __name__ == "__main__":
|
||||||
path = os.path.abspath(os.path.dirname(__file__))
|
import os
|
||||||
name = os.path.basename(__file__)
|
path = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
name = os.path.basename(__file__)
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append(path)
|
sys.path.append(path)
|
||||||
|
|
||||||
import runpy
|
import runpy
|
||||||
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
15
services
15
services
@ -1,10 +1,11 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
import os
|
if __name__ == "__main__":
|
||||||
path = os.path.abspath(os.path.dirname(__file__))
|
import os
|
||||||
name = os.path.basename(__file__)
|
path = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
name = os.path.basename(__file__)
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append(path)
|
sys.path.append(path)
|
||||||
|
|
||||||
import runpy
|
import runpy
|
||||||
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
13
shell
13
shell
@ -1,9 +1,10 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
import os
|
if __name__ == "__main__":
|
||||||
path = os.path.abspath(os.path.dirname(__file__))
|
import os
|
||||||
|
path = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append(path)
|
sys.path.append(path)
|
||||||
|
|
||||||
import code
|
import code
|
||||||
code.InteractiveConsole().interact()
|
code.InteractiveConsole().interact()
|
15
struct
15
struct
@ -1,10 +1,11 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
import os
|
if __name__ == "__main__":
|
||||||
path = os.path.abspath(os.path.dirname(__file__))
|
import os
|
||||||
name = os.path.basename(__file__)
|
path = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
name = os.path.basename(__file__)
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append(path)
|
sys.path.append(path)
|
||||||
|
|
||||||
import runpy
|
import runpy
|
||||||
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
15
trafficgen
15
trafficgen
@ -1,10 +1,11 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
import os
|
if __name__ == "__main__":
|
||||||
path = os.path.abspath(os.path.dirname(__file__))
|
import os
|
||||||
name = os.path.basename(__file__)
|
path = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
name = os.path.basename(__file__)
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append(path)
|
sys.path.append(path)
|
||||||
|
|
||||||
import runpy
|
import runpy
|
||||||
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
runpy.run_module(f"bemani.utils.{name}", run_name="__main__")
|
17
verifylibs
17
verifylibs
@ -1,16 +1,17 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
import os
|
if __name__ == "__main__":
|
||||||
path = os.path.abspath(os.path.dirname(__file__))
|
import os
|
||||||
|
path = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append(path)
|
sys.path.append(path)
|
||||||
sys.argv = [
|
sys.argv = [
|
||||||
sys.argv[0],
|
sys.argv[0],
|
||||||
"discover",
|
"discover",
|
||||||
"-s",
|
"-s",
|
||||||
os.path.join(path, "bemani/tests"),
|
os.path.join(path, "bemani/tests"),
|
||||||
*sys.argv[1:],
|
*sys.argv[1:],
|
||||||
]
|
]
|
||||||
|
|
||||||
import runpy
|
import runpy
|
||||||
runpy.run_module("unittest", run_name="__main__")
|
runpy.run_module("unittest", run_name="__main__")
|
Loading…
Reference in New Issue
Block a user