19 lines
585 B
Diff
19 lines
585 B
Diff
586,591d585
|
|
< } else if (typeof options.shell === 'string') {
|
|
< file = '/bin/executor';
|
|
< args = [ options.shell, '-c', command];
|
|
< } else if (process.platform === 'android') {
|
|
< file = '/system/bin/sh';
|
|
< args = ['-c', command];
|
|
593,594c587,593
|
|
< file = '/bin/executor';
|
|
< args = command.split(' ');
|
|
---
|
|
> if (typeof options.shell === 'string')
|
|
> file = options.shell;
|
|
> else if (process.platform === 'android')
|
|
> file = '/system/bin/sh';
|
|
> else
|
|
> file = '/bin/sh';
|
|
> args = ['-c', command];
|