Gros Bedo wrote:
Thank you guys for your help. My problem is that I project to use this command
to terminate a script when uninstalling the software, so I can't store the PID.
This command will be integrated in the spec file of the RPM package. Here's the
script I'll use, it may help someone e
Thank you guys for your help. My problem is that I project to use this command
to terminate a script when uninstalling the software, so I can't store the PID.
This command will be integrated in the spec file of the RPM package. Here's the
script I'll use, it may help someone else:
#!/bin/sh
#
Gros Bedo wrote:
That's not how it works. If you kill one running python script it will not
effect other python scripts. Each script has its own interpreter process
running.
GB> So, is there a way from the Linux shell or a bash script to terminate
GB> just one specific Python script ?
> Gros Bedo <[EMAIL PROTECTED]> (GB) wrote:
>GB> Yes I've seen that each python script calls its own instance of
>GB> Python. But how to know which is the good one in bash ? Is there a
>GB> command that gets the parameters of process, so I could use grep to
>GB> select the one containing the n
>>That's not how it works. If you kill one running python script it will not
>>effect other python scripts. Each script has its own interpreter process
>>running.
>GB> So, is there a way from the Linux shell or a bash script to terminate
>GB> just one specific Python script ?
>>So just kill it
> Gros Bedo <[EMAIL PROTECTED]> (GB) wrote:
>GB> I have a question about Python and Linux shell. I have a python
>GB> program which is permanently resident in the end-user system. I'm
>GB> currently producing a RPM package, and it works nicely. The problem is
>GB> that when I uninstall it, my
On Jul 10, 1:25 am, Larry Bates <[EMAIL PROTECTED]> wrote:
> Gros Bedo wrote:
> > Hello :-)
>
> > I have a question about Python and Linux shell. I have a python program
> > which is permanently resident in the end-user system. I'm currently
> > producing a RPM package, and it works nicely. The p
Gros Bedo wrote:
Hello :-)
I have a question about Python and Linux shell. I have a python program which
is permanently resident in the end-user system. I'm currently producing a RPM
package, and it works nicely. The problem is that when I uninstall it, my
program keeps running in the backgro