26 Commits

Author SHA1 Message Date
Nate Fischer
497149cc23 docs(exec): explicitly mention the shell option (#449) 2016-05-27 08:31:40 -07:00
Nate Fischer
b162a2ffe6 Merge pull request #419 from shelljs/docs-exec-return-value
docs(exec): fix docs about exec return type
2016-04-05 21:23:19 -07:00
Nate Fischer
27a760299c refactor: more commands return ShellStrings, tests for code 2016-03-15 19:48:13 -07:00
Nate Fischer
5bcbc619e4 feat: adding error codes to ShellJS 2016-03-15 19:21:08 -07:00
Nate Fischer
db20acebfb Switch to process.execPath over 'node' 2016-03-10 17:06:32 -08:00
Nate Fischer
98fc7f48ef feat(pipe): add support for pipes between commands 2016-02-20 22:26:31 -08:00
Ari Porad
d0b7d0943f Merge pull request #360 from shelljs/refactor-shellstring
refactor(ShellString): refactor shellstring
2016-02-20 14:51:19 -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
Nate Fischer
951376b300 fix(exec): properly handles paths with spaces and quotes 2016-02-18 18:22:38 -08: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
164a214e5a use common.extend 2016-02-04 12:17:01 -08:00
Nate Fischer
058bb679b0 feat(exec): allow all exec options to pass through 2016-02-03 20:54:41 -08:00
Nate Fischer
900384bda8 Now runs jshint on the src/ folder. This fixes the pre-existing lint issues 2016-01-19 00:25:21 -08:00
Martino Visintin
d520a340e8 update exec docs to match implemented behaviour 2016-01-14 12:44:05 +01: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
Julian Laval
3d01d64385 Patched stream closing issue 2015-08-11 16:50:10 +01:00
Julian Laval
ab142f522f Manually closing streams 2015-08-11 09:53:37 +01:00
Charlie Rudolph
86e2d57cbc prevent internal error: write after end 2015-07-02 15:53:36 -07:00
Tristan Davies
4dca63ac33 100% more execSync, 99% less busywait 2015-02-25 09:28:06 -05:00
Artur Adib
8df40dcf10 exec: don't output error msg when exit code > 0 2013-09-11 18:50:25 -04:00
Nils Bunger
d97c34627c Make shell.exec() treat process error return codes as shelljs errors 2013-09-08 17:16:08 -07:00
Artur Adib
561b1ea99c factoring docs, sed.js fix 2013-08-25 18:09:31 -04:00
Artur Adib
e0855c3cff exec,tempdir 2013-08-25 16:48:44 -04:00