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

javascript - Can Piwik report referrer in real time? -

asp.net - Google Drive Access: At least one client secrets (Installed or Web) should be set -

excel vba add hyperlink to shape in group -