diff --git a/autotest.cmd b/autotest.cmd
index e3c5b2e70da8296f8e0ecd4c460cccb4e1c7cb74..9d94915383d5e0b03c991eb7da14f6ede83f2bb7 100644
--- a/autotest.cmd
+++ b/autotest.cmd
@@ -119,7 +119,7 @@ goto:eof
 	md coverage-html-%~1
 	php -f enable_all.php
 
-	phpunit --bootstrap bootstrap.php --configuration phpunit-autotest.xml --log-junit autotest-results-%~1.xml --coverage-clover autotest-clover-%~1.xml --coverage-html coverage-html-%~1
+	call phpunit --bootstrap bootstrap.php --configuration phpunit-autotest.xml --log-junit autotest-results-%~1.xml --coverage-clover autotest-clover-%~1.xml --coverage-html coverage-html-%~1
 	echo "Done with testing %~1 ..."
 	cd %BASEDIR%
 goto:eof