Skip to content

Commit

Permalink
Update worlds/LauncherComponents.py
Browse files Browse the repository at this point in the history
Co-authored-by: Aaron Wagener <[email protected]>
  • Loading branch information
qwint and alwaysintreble authored Jul 30, 2024
1 parent 20628b8 commit d886aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/LauncherComponents.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __repr__(self):
processes = weakref.WeakSet()


def launch_subprocess(func: Callable, name: str = None, args=()):
def launch_subprocess(func: Callable, name: str = None, args: Tuple[str, ...] = ()) -> None:
global processes
import multiprocessing
process = multiprocessing.Process(target=func, name=name, args=args)
Expand Down

0 comments on commit d886aa9

Please sign in to comment.