#NEWLINE# def exec_cmd2( cmd_args , * args , **kw ) : #NEWLINE# #INDENT# "\n    Similar to exec_cmd, however does not capture stdout, stderr (therefore\n    allowing it to print to console).  All additional `*args` and\n    `**kwargs` are passed directly to subprocess.Popen.  See `Subprocess\n    <http://docs.python.org/library/subprocess.html>`_ for more information\n    on the features of `Popen()`.\n\n    :param cmd_args: List of command line arguments.\n    :type cmd_args: list.\n    :param args: Additional arguments are passed to Popen().\n    :param kwargs: Additional keyword arguments are passed to Popen().\n    :returns: The integer return code of the command.\n    :rtype: int\n\n    Usage:\n\n    .. code-block:: python\n\n        from cement.utils import shell\n\n        exitcode = shell.exec_cmd2(['echo', 'helloworld'])\n\n    " #NEWLINE# proc = Popen ( cmd_args , * args , ** kw ) #NEWLINE# proc . wait ( ) #NEWLINE# return proc . returncode