running programs outside shell