Re: I/O Redirection [message #45764] |
Fri, 18 October 2002 09:58  |
Eclipse User |
|
|
|
Originally posted by: hongming.cs.utexas.edu
Thank you for your response.
But could you please tell me how to ask Eclipse to launch a .bat instead of
a .exe?
Yeh Hong-ming
Department of Computer Sciences
The University of Texas at Austin
"Igor S. Zamyatin" <isz@interstron.ru> wrote in message
news:aome32$26m$1@rogue.oti.com...
>
> 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
|
|
|
|
Re: I/O Redirection [message #46106 is a reply to message #46076] |
Mon, 21 October 2002 11:03  |
Eclipse User |
|
|
|
I think you can make some changes in org.eclipse.cdt launch plugin and
CDT will launch your .bat file
Igor S. Zamyatin
Interstron Ltd.
----------------------------------------
email: isz@interstron.ru
tel: +7 (095) 269-4713
cell: +7 (902) 659-5838
www: http://www.interstron.ru
> I don't know how to do it that's why I suggested to ask for this as a
> new CDT feature
> Igor S. Zamyatin
> Interstron Ltd.
> ----------------------------------------
> email: isz@interstron.ru
> tel: +7 (095) 269-4713
> cell: +7 (902) 659-5838
> www: http://www.interstron.ru
> Yeh Hong-ming wrote:
> > Thank you for your response.
> > But could you please tell me how to ask Eclipse to launch a .bat instead of
> > a .exe?
> > Yeh Hong-ming
> > Department of Computer Sciences
> > The University of Texas at Austin
> > "Igor S. Zamyatin" <isz@interstron.ru> wrote in message
> > news:aome32$26m$1@rogue.oti.com...
> > >
> > > 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
|
|
|
Powered by
FUDForum. Page generated in 0.04907 seconds