Try googling the "exec" method of Runtime or the process builder. Both allow you to call other programs.