In fact I think there's an FAQ entry. Search for "run program system".

You could always take code from your other program and use it in your current one, assuming you're running another program that you wrote/have access to the code for.