Batch: cmd window in Angular e2e – Upwork


I have a batch script that runs Angular e2e tests in parallel.

e2e tests will open new cmd.  But after the tests are finished, cmd windows don't close.

I need to automatically close cmd windows after e2e tests are finished.

Here is the batch script:
@echo off
@set a=5555
@set /a "b=%a%+%1 – 1"

F:
cd F:\AngularPerformance\frontend

for /l %%x in (%a%, 1, %b%) do (
call ng e2e –no-webdriver-update –port %%x

)

If I add "exit" at the end, the cmd where this code runs will be automatically closed, but the cmds opened by this app does not close.

Budget: $20

Posted On: June 01, 2018 00:24 UTC
Category: Web, Mobile & Software Dev > Web Development

Country: Canada
click to applyPosted on Upwork.com