how to run several programs in consoles synchronously

I really need you help!
In my project, I want to run several programs in one or several consoles at the same time automatically when the OS start up.
Now I can run one program automatically in some console with add sh -c filename to .ifs file.However,the .ifs is excuted orderly,and runs programs one by one.I really have no ideas and in trouble.Thanks for your help .
Best regards.

Have the startup image call a shell script as the last step. Within that script, you start all your programs in background (i.e. with & symbol at the end):

#!/bin/sh

prog1 > /dev/con1 &

prog2 > /dev/con2 &

prog3 > /dev/con3 &

exec ksh

Regards,
Albrecht

qnx.com/developers/docs/mome … /o/on.html

thank you for your everthing.
Now,I have to run QNX on a DOC and make several programs synchronously running in different consoles when power on.
to Albrecht:you mean I need add these commands below in my buildfile or somewhere else,don’t you?
#!/bin/sh

prog1 > /dev/con1 &

prog2 > /dev/con2 &

prog3 > /dev/con3 &

exec ksh

Best regards

I prefer on -t /dev/con1 prog1. This will also take care of stdin and stderr not just stdout like the example above.