User forums > General (but related to Code::Blocks)

Tool's output

(1/1)

AZ:
hello,
 i need to monitor the tty. for this i put together a small shell script (~/bin/monitor), that calls miniterm.py with a ${PROJECT_DIR} where it parses and pics port and baud params for the execution of miniterm.py :

--- Code: ---~/bin/monitor ${PROJECT_DIR}

--- End code ---

monitor:

--- Code: ---//the boilerplate code removed
miniterm.py $baud $port

--- End code ---

the challenge :
 a. when the xterm opens up and launches the "monitor", I can't select and copy the output to a buffer.
 b. as a workaround i thought i can redirect the output from the tool into a log. what params can i use in the "Tools"?
 c. ideally, i'd like to have the "monitor" to run one of the CB output windows ( like build log, valgrind etc). How can this be achieved?


My attempt to use "Tools+" and specifying the output to "Tools output window", got me :

--- Code: ---execvp(~/bin/monitor, /home/az/Work/Arduino/Proj/) failed with error 2!

/code]



thank you.
--- End code ---

Navigation

[0] Message Index

Go to full version