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
Post a Comment