linux - How to put process in background in Chef similar to Ctrl + Z from terminal -


i have command start particular service in prompts password, after entering password put in background using ctrl + z,

now how can automate set of 50 commands using chef recipe or other script.

i can manage enter password using expect utility how put in background using script ?

you can put process in background putting & @ end of command. so:

bash '/bin/something -f myflag &' 

Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -