Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. #!/usr/bin/env bash
  2.  
  3. function start_it ()
  4. {
  5. cmd="nohup python script_name.py -s $1"
  6. echo $cmd
  7. $cmd &
  8.  
  9. }
  10.  
  11. for c in list of "command line inputs"
  12. do
  13. start_it $c
  14. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement