User forums > Help

[don't care]Program arguments, redirect output, >stdout.txt

<< < (2/2)

Jenna:

--- Quote from: visir on December 24, 2017, 08:39:53 pm ---I just tried adding >stdout.txt to the Project->Set Program Arguments.

Didn't work. Program receives it as an argument, and no redirection happens.

--- End quote ---
It's called "Set program arguments", because you set program arguments.
A redirection is something different and has nothing to do with arguments, even if on a shell (console/cmd) it looks similar.

visir:
So debugging programs like that is impossible...?

oBFusCATed:
Yep, unfortunately.

Jenna:
You can run every project in a console and copy and paste the content to review it.
Just check "Project -> Set programs' arguments... -> Run host in terminal".

Navigation

[0] Message Index

[*] Previous page

Go to full version