Don't know Tk::ExecuteCommand but you might subclass it and replace some of its methods to change the Buttons and Labels or copy the source, rename it to Kranthi::ExecuteCommand and patch it to your desires.
Comment on Re^3: Require help in designing command prompt GUI