1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 02:29:26 +02:00

Launch remote binaries with exec so that we don't leave the shell behind unnecessarily.

This commit is contained in:
Simo Kinnunen 2014-09-08 15:24:00 +09:00
parent 6e567941ca
commit 633b1764df
3 changed files with 6 additions and 3 deletions

View file

@ -38,7 +38,8 @@ module.exports = syrup.serial()
.timeout(10000)
.then(function() {
return adb.shell(options.serial, [
remote.bin
'exec'
, remote.bin
, '--lib', remote.lib
, '--listen-forward', service.port
])

View file

@ -30,7 +30,8 @@ module.exports = syrup.serial()
.timeout(10000)
.then(function() {
return adb.shell(options.serial, [
remote.bin
'exec'
, remote.bin
, '--lib', remote.lib
, '--listen-http', service.port
])

View file

@ -29,7 +29,8 @@ module.exports = syrup.serial()
.timeout(10000)
.then(function() {
return adb.shell(options.serial, [
remote.bin
'exec'
, remote.bin
, '--lib', remote.lib
, '--listen-input', service.port
])