I/O Redirection [message #45494] |
Wed, 16 October 2002 22:44  |
Eclipse User |
|
|
|
Originally posted by: hongming.cs.utexas.edu
When debugging C/C++ in Eclipse, how do I use I/O redirection?
I tried to specify redirection, such as "> stdout.txt", in the C/C++
Program Arguments field of the Launch Configurations dialog box, but it
didn't work. Please help! Thanks.
Yeh Hong-ming
Department of Computer Science
The University of Texas at Austin
|
|
|
Re: I/O Redirection [message #45554 is a reply to message #45494] |
Thu, 17 October 2002 09:31  |
Eclipse User |
|
|
|
I think your way will not working. As I understood when you specify
application name and its arguments in order to Eclipse could launch your
program platform simply call CreateProcess(when using Windows for
example). And if you try to use directly CreateProcess I'm afraid that you
will have no result too.
Probably if you make a.bat where i/o will redirect and launch by
CreateProcess everything will work fine.
If so you may try do something like that in CDT or may be it is a new CDT
feature and you may ask for it to developers :)
Igor S. Zamyatin,
Interstron Ltd
Yeh Hong-ming wrote:
> When debugging C/C++ in Eclipse, how do I use I/O redirection?
> I tried to specify redirection, such as "> stdout.txt", in the C/C++
> Program Arguments field of the Launch Configurations dialog box, but it
> didn't work. Please help! Thanks.
> Yeh Hong-ming
> Department of Computer Science
> The University of Texas at Austin
|
|
|
Powered by
FUDForum. Page generated in 0.26479 seconds