| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ccbc78c commit e0240ab
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -332,7 +332,12 @@ function normalizeSpawnArguments(file /*, args, options*/) { | |||
| 332 | 332 | args = ['/s', '/c', '"' + command + '"']; | |
| 333 | 333 | options.windowsVerbatimArguments = true; | |
| 334 | 334 | } else { | |
| 335 | - file = typeof options.shell === 'string' ? options.shell : '/bin/sh'; | ||
| 335 | + if (typeof options.shell === 'string') | ||
| 336 | + file = options.shell; | ||
| 337 | + else if (process.platform === 'android') | ||
| 338 | + file = '/system/bin/sh'; | ||
| 339 | + else | ||
| 340 | + file = '/bin/sh'; | ||
| 336 | 341 | args = ['-c', command]; | |
| 337 | 342 | } | |
| 338 | 343 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments