nohup with scripy asking for parameter

80 Views Asked by At

I am trying to use the nohup command.

# nohup python3.6 script.py

Problem the script ask for a parameter at start :

# How many times would like to loop ? :*

and with nohup, i do not see the questions on script start.

Can you help me please ?

Yoki

1

There are 1 best solutions below

0
On

Ok i found !!! Sorry !!

( echo 10 | nohup python3.6 script.py )