typo
This commit is contained in:
parent
00a791f182
commit
7fce5fe2d7
@ -51,12 +51,9 @@ run('npm', ['install'], () => {
|
|||||||
const nThen = require('nthen');
|
const nThen = require('nthen');
|
||||||
nThen((waitFor) => {
|
nThen((waitFor) => {
|
||||||
if (process.platform === 'darwin') {
|
if (process.platform === 'darwin') {
|
||||||
run('bash', [
|
run('bash', ['-c',
|
||||||
'ps', '-ef', '|' ,
|
'ps -ef | grep -v grep | grep \'Google Chrome.app/Contents/MacOS/Google Chrome\'' +
|
||||||
'grep', '-v', 'grep', '|',
|
' | awk \'{print $2}\' | while read x; do kill $x; done'
|
||||||
'grep', 'Google Chrome.app/Contents/MacOS/Google Chrome', '|',
|
|
||||||
'awk', '{print $2}', '|',
|
|
||||||
'while', 'read', 'x;', 'do', 'kill', '$x;', 'done'
|
|
||||||
], waitFor());
|
], waitFor());
|
||||||
}
|
}
|
||||||
}).nThen((waitFor) => {
|
}).nThen((waitFor) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user