1. 02 Dec, 2013 2 commits
  2. 23 Sep, 2013 1 commit
  3. 01 Jun, 2013 1 commit
  4. 28 Apr, 2013 1 commit
  5. 04 Apr, 2013 1 commit
  6. 01 Mar, 2013 1 commit
  7. 18 Feb, 2013 1 commit
  8. 28 Jan, 2013 1 commit
  9. 13 Jan, 2013 1 commit
  10. 23 Dec, 2012 2 commits
    • Allow to change executable (shell/interpreter) when using raw · 846161a1
      This patch adds an optional 'executable=' option to the raw command line to override the default shell (/bin/sh), much like the shell module does.
      Dag Wieers committed
    • Add return code and error output to raw module · 988db558
      Since we use 'raw' heavily on equipment where 'command' and 'shell' are not (yet) working (and python may need to be installed first using raw) these improvements are necessary in order to write more complex scripts (with return code handling and separated stdout/stderr).
      
      This change includes the following changes:
      
       - exec_command() now returns the return code of the command
       - _low_level_exec_command() now returns a dict, including 'rc', 'stdout' and 'stderr'
       - all users of the above interfaces have been improved to make use of the above changes
       - all connection plugins have been modified to return rc and stderr
       - fix the newline problem (stdout and stderr would have excess newlines)
      
      In a future commit I intend to add assertions or error handling code to verify the return code in those places where it wasn't done. Since only the output was available, the return code was ignored, even though we expect them to be 0.
      Dag Wieers committed
  11. 21 Nov, 2012 1 commit
  12. 19 Nov, 2012 1 commit
  13. 14 Nov, 2012 1 commit
  14. 06 Nov, 2012 1 commit
  15. 31 Oct, 2012 1 commit
  16. 23 Oct, 2012 1 commit
  17. 18 Oct, 2012 1 commit
  18. 13 Oct, 2012 1 commit
  19. 02 Oct, 2012 1 commit
  20. 01 Oct, 2012 1 commit
  21. 30 Sep, 2012 1 commit
  22. 27 Sep, 2012 1 commit