Skip to content

Commit

Permalink
fix printing to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
mahrud committed Dec 19, 2020
1 parent f3c55e9 commit e37f272
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions M2/Macaulay2/d/interp.dd
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ capture(e:Expr):Expr := (
flush(stdError);
oldStdError := stdError; -- doesn't quite work, see stderrS in actors2.dd
stdError = stdIO;
setGlobalVariable(stderrS, Expr(stdIO));
oldDebuggingMode := debuggingMode;
setDebuggingMode(false);
foss := getFileFOSS(stdIO);
Expand Down

0 comments on commit e37f272

Please sign in to comment.