26 Commits

Author SHA1 Message Date
Nate Fischer
db20acebfb Switch to process.execPath over 'node' 2016-03-10 17:06:32 -08:00
Nate Fischer
6ebc2d3db7 refactor(shellstring): return consistent objects
- fix(string): no longer overrides string prototype
 - exec() now returns a ShellString object
2016-02-19 14:54:30 -08:00
Jason McLaurin
6bf7d77ecf change config.fatal to throw an exception instead of terminating the node.js process 2016-02-16 11:19:25 -06:00
Ari Porad
7531d3a0ee Merge pull request #354 from shelljs/fix-exec-temp-files
fix(exec): temp files are now cleaned up
2016-02-14 08:49:57 -08:00
Nate Fischer
b63dde5d1a fix(exec): now actually supports shell option 2016-02-13 20:45:32 -08:00
Nate Fischer
fed412ff1b fix(exec): temp files are now cleaned up 2016-02-11 15:20:32 -08:00
Nate Fischer
dc79d7eff0 fix(touch): enhance parseOptions and fix touch's -r flag 2016-02-04 15:41:48 -08:00
Nate Fischer
058bb679b0 feat(exec): allow all exec options to pass through 2016-02-03 20:54:41 -08:00
Nate Fischer
8a7f7ceec4 add exec.stdout
Change `exec.output` to `exec.stdout` and deprecate `output`.
2016-01-12 17:14:13 -08:00
Nate Fischer
74f1ff8748 Commands that have multiple errors now produce cleaner log output. Errors are
echoed to stderr. exec() supports a new stderr field.
2016-01-12 17:02:19 -08:00
Artur Adib
21f721cb45 more stringent jshint; catch leaks/undefs 2013-09-21 10:12:28 -04:00
Nils Bunger
d97c34627c Make shell.exec() treat process error return codes as shelljs errors 2013-09-08 17:16:08 -07:00
Deepak Thukral
7b9ee5a41d Kept existing options and re-wrote the test case. 2013-03-11 13:10:05 +01:00
Deepak Thukral
a91aa8cc9a exec with callback failed with slient param was defined 2013-03-11 12:30:44 +01:00
Artur Adib
35211d0783 Merge pull request #42 from danielepolencic/master
Fix single/double quotes in exec
2012-12-01 11:09:17 -08:00
Artur Adib
e4d9dabe52 introducing config.silent, config.fatal
deprecates silent()
2012-12-01 09:48:23 -05:00
Daniele Polencic
0409bd7a27 new test for quotes escaping 2012-11-13 09:52:53 +00:00
Artur Adib
99b9b759fa closes #31 2012-09-28 15:45:34 -04:00
Artur Adib
38a0bde0a9 exec async now returns child proc obj 2012-05-24 22:10:21 -04:00
Artur Adib
5c4f3609f3 oops 2012-04-16 11:03:35 -04:00
Artur Adib
44d9625326 test/exec.js: avoid intermittent failures 2012-04-16 11:02:23 -04:00
Artur Adib
94caeb20fd trying to fix async tests for exec() 2012-03-27 20:21:35 -04:00
Artur Adib
2f3bce71d1 echo() overrides silent() 2012-03-27 18:51:02 -04:00
Artur Adib
687e19044c fix: exec()'s {silent} overrides global silent() 2012-03-27 18:16:15 -04:00
Artur Adib
11614fd516 Deprecated: verbose() and exists() 2012-03-15 14:20:10 -04:00
Artur Adib
534c05dc25 exec() 2012-03-02 11:17:05 -05:00