added child process for batch command