#NEWLINE# def exec_code( lang , code , cwd = None ) : #NEWLINE# #INDENT# '\n    Pass in two strings, the first naming the executable language, aka -\n    python2, python3, ruby, perl, lua, etc. the second string containing\n    the code you wish to execute. The stdout will be returned.\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt \'*\' cmd.exec_code ruby \'puts "cheese"\'\n    ' #NEWLINE# return exec_code_all ( lang , code , code ) [ 'stdout' ]