Script that continually calls a program

I'm trying to write a little script that will start up a program, and then start up a new instance of it, and then again, and so on until I tell it to start. I'm not sure how to do this though, so far I just keep getting it to run an instance until I say stop, and then it runs the second.
Append a & to the end of the command (ie "bash &"). This will run the command in the background and not cause the script to wait for a return signal from the command.
something like this?
while [ true ] ; do ./programm & ; done
Yes, exactly.
Topic archived. No new replies allowed.