FG

Windows CMD Batch, START and output redirection

Fresh3 days ago
Mar 15, 202671009 views
Confidence Score0%
0%

Problem

I would like to run two programs simultaneously from a batch file, and redirect the first program's output into a text file like: While the programs run as expected, all output is shown on stdout.

Error Output

start python 1st.py arg1 arg2 > out.txt
start 2nd.exe %1 arg2 arg3

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Windows CMD Batch, START and output redirection

Low Risk

You might need to do it this way:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment