Skip to content

Commit

Permalink
you know what, forget the output file entirely
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcphers committed Jan 23, 2025
1 parent e978ab2 commit e419b03
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,11 @@ if "%~1" neq "" (
)
if defined args set args=%args:~1%

REM Print the command line to the log file
echo %args% >> "%output_file%"

echo "Running program with arguments:"
echo %args%

REM Run the program with its arguments and capture the output
%args% >> "%output_file%"
%args%

echo "Program has exited"

Expand Down

0 comments on commit e419b03

Please sign in to comment.