Find the path of a shell command
2QdxY4RzWzUUiLuE at potatochowder.com
2QdxY4RzWzUUiLuE at potatochowder.com
Wed Oct 12 15:16:02 EDT 2022
On 2022-10-12 at 17:43:18 +0100,
Paulo da Silva <p_d_a_s_i_l_v_a_ns at nonetnoaddress.pt> wrote:
> Às 17:22 de 12/10/22, Tilmann Hentze escreveu:
> > Paulo da Silva <p_d_a_s_i_l_v_a_ns at nonetnoaddress.pt> schrieb:
> > > I have python program that launches a detached rm. It works pretty well
> > > until it is invoked by cron! I suspect that for cron we need to specify
> > > the full path.
> >
> > Probably you could use os.unlink[1] with no problem.
> No, because I need to launch several rm's that keep running after the script
> ends.
rm doesn't take that long. Why are you detaching them?
(I'm not debating your point about cron.)
More information about the Python-list
mailing list