We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a0d5e8 commit dbcb177Copy full SHA for dbcb177
src/cli/argv_parser.ts
@@ -102,6 +102,11 @@ const ArgvParser = {
102
parse(argv: string[]): IParsedArgv {
103
const program = new Command(path.basename(argv[1]))
104
105
+ // We want to be in full control over when the process exits.
106
+ // This is important for other tools using Cucumber as a library,
107
+ // such as https://github.com/cucumber/cucumber-electron
108
+ program.exitOverride()
109
+
110
program
111
.storeOptionsAsProperties(false)
112
.usage('[options] [<GLOB|DIR|FILE[:LINE]>...]')
0 commit comments