Find the path of a shell command

Paulo da Silva p_d_a_s_i_l_v_a_ns at nonetnoaddress.pt
Wed Oct 12 12:43:18 EDT 2022


À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.




More information about the Python-list mailing list