removing xterm from linux spawn

Summary:Simply removing the xterm spawn from android packager, since you can archive exactly the same results using the standard shell 😄
Closes https://github.com/facebook/react-native/pull/7077

Differential Revision: D3212548

Pulled By: mkonicek

fb-gh-sync-id: 8cc03d2708614f64e1394ca738e5de0ba631deb9
fbshipit-source-id: 8cc03d2708614f64e1394ca738e5de0ba631deb9
This commit is contained in:
Raul Ascencio 2016-04-22 09:00:57 -07:00 коммит произвёл Facebook Github Bot 8
Родитель db34d72d3c
Коммит 44d36f7c5f
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -173,7 +173,7 @@ function startServerInNewWindow() {
if (yargV.open){
return child_process.spawn(yargV.open,['-e', 'sh', launchPackagerScript], {detached: true});
}
return child_process.spawn('xterm',['-e', 'sh', launchPackagerScript],{detached: true});
return child_process.spawn('sh', [launchPackagerScript],{detached: true});
} else if (/^win/.test(process.platform)) {
console.log(chalk.yellow('Starting the packager in a new window ' +