X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=salome_pid.py;h=f68419c48db904b07e673d6f4d7078567f5bc97e;hb=9afbc5fb015e5ff91689e1ef3f4da286347fbda5;hp=6a32bf4ba3203e95636281a8a304ca793355b6ed;hpb=143038cf992d8e8aa980f470c0f5d254530e251e;p=modules%2Fshaper.git diff --git a/salome_pid.py b/salome_pid.py index 6a32bf4ba..f68419c48 100755 --- a/salome_pid.py +++ b/salome_pid.py @@ -1,5 +1,24 @@ #!/bin/env python +# Copyright (C) 2014-2023 CEA, EDF +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + import sys, pickle from killSalome import * @@ -15,4 +34,4 @@ for list_item in process_ids: if process in name_list: pid = _pid -print pid +print(pid)