retrieve "puts" command result from C
- From: fabrice.dufour@xxxxxxxxx
- Date: 8 Mar 2006 07:54:30 -0800
Hi all,
I want to retrieve the string displayed by the "puts" command from the
C api.
e.g:
$ puts "something"
something
How can I get the string "something" from C ?
Note: I already try Tcl_GetStringFromObj that always returns an empty
string. And Tcl_WriteObj that only display on a channel and not in a
char*.
Fabrice
.
- Follow-Ups:
- Re: retrieve "puts" command result from C
- From: Michael Schlenker
- Re: retrieve "puts" command result from C
- Prev by Date: Re: Messaging alert
- Next by Date: How to dynamically pass operators to if?
- Previous by thread: Re: porting expect script from Linux to Windows
- Next by thread: Re: retrieve "puts" command result from C
- Index(es):
Relevant Pages
|