summaryrefslogtreecommitdiff
path: root/silx/__main__.py
diff options
context:
space:
mode:
authorPicca Frédéric-Emmanuel <picca@debian.org>2021-09-07 14:39:36 +0200
committerPicca Frédéric-Emmanuel <picca@debian.org>2021-09-07 14:39:36 +0200
commitd3194b1a9c4404ba93afac43d97172ab24c57098 (patch)
treea1604130e1401dc1cbd084518ed72869dc92b86f /silx/__main__.py
parentb3bea947efa55d2c0f198b6c6795b3177be27f45 (diff)
New upstream version 0.15.2+dfsg
Diffstat (limited to 'silx/__main__.py')
-rw-r--r--silx/__main__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/silx/__main__.py b/silx/__main__.py
index a971390..f832a09 100644
--- a/silx/__main__.py
+++ b/silx/__main__.py
@@ -2,7 +2,7 @@
# coding: utf-8
# /*##########################################################################
#
-# Copyright (c) 2017 European Synchrotron Radiation Facility
+# Copyright (c) 2017-2021 European Synchrotron Radiation Facility
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@@ -38,6 +38,7 @@ __date__ = "07/06/2018"
import logging
logging.basicConfig()
+import multiprocessing
import sys
from silx.utils.launcher import Launcher
import silx._version
@@ -52,6 +53,8 @@ def main():
:rtype: int
:returns: The execution status
"""
+ multiprocessing.freeze_support()
+
launcher = Launcher(prog="silx", version=silx._version.version)
launcher.add_command("view",
module_name="silx.app.view.main",