Hi,
I'd like to configure gprof as external tool.
Unfortunately, gprof has no option to redirect its output to a file.
One has to use the Unix redirection operator '>'
How to configure an external tool for such a program?
Many thanks for a hint,
Helmut.
external tools - how to redirect output
-
- CodeLite Veteran
- Posts: 98
- Joined: Thu Feb 18, 2010 10:54 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: external tools - how to redirect output
You can simply wrap it in a shell command, like this:
Tool:
Arguments:
Eran
Tool:
Code: Select all
/bin/sh
Code: Select all
-c 'ls -l > myls.txt'
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Veteran
- Posts: 98
- Joined: Thu Feb 18, 2010 10:54 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: external tools - how to redirect output
Many thanks Eran.
Perhaps you can put it on the wishlist to support redirection without the help of a shell.
Helmut.
Perhaps you can put it on the wishlist to support redirection without the help of a shell.
Helmut.