Skip to content

Commit ef6ea47

Browse files
Kill the process for iOS Simulator logs on SIGINT
On some Mac OS machines, the process for reading iOS Simulator logs does not die when Ctrl + C is used. So CLI's process cannot die as well and Ctrl + Z should be used. However the processes for reading logs remain alive and zombies. Make sure to kill the process on SIGINT, SIGTERM, etc. This way CLI's process should die as well. Use new version of ios-sim-portable, where the child process is returned to the CLI, so we can kill it later.
1 parent 1cbfe4c commit ef6ea47

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"glob": "^7.0.3",
4747
"iconv-lite": "0.4.11",
4848
"inquirer": "0.9.0",
49-
"ios-sim-portable": "~1.3.0",
49+
"ios-sim-portable": "~1.4.0",
5050
"lockfile": "1.0.1",
5151
"lodash": "4.13.1",
5252
"log4js": "0.6.26",
@@ -102,4 +102,4 @@
102102
"engines": {
103103
"node": ">=0.10.40 <0.11.0 || >=0.12.7 <0.13.0 || >=4.2.1 <5.0.0 || >=5.1.0 <7.0.0"
104104
}
105-
}
105+
}

0 commit comments

Comments
 (0)