X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=salome_pid.py;h=a4d0b1d2349385218dd4c6f2695844abb75ee1aa;hb=6c9733606d54a0813c3b7d5522dd74a3af989917;hp=6a32bf4ba3203e95636281a8a304ca793355b6ed;hpb=143038cf992d8e8aa980f470c0f5d254530e251e;p=modules%2Fshaper.git diff --git a/salome_pid.py b/salome_pid.py index 6a32bf4ba..a4d0b1d23 100755 --- a/salome_pid.py +++ b/salome_pid.py @@ -1,5 +1,24 @@ #!/bin/env python +# Copyright (C) 2014-2022 CEA/DEN, EDF R&D +# +# 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)