system("command1 &"); system("command2 &"); system("command3 &"); wait; # doesn't behave like the unix wait :(