exec cmd in ruby