Please use cmd_exec , from Msf::Post::Common,  over session.sys.process.execute when possible