Hi!
I would like to exec some unix commands from my Tcl scrips
a command like for instance:
set command = plist | awk '{ print \$1}' where plist returns some data.
then I tried:
set status [catch {exec {$command}} plistout] -> got errors
set status [catch {open "$command"} plistout] -> plistout contains file4.
What should I use?
Thanks,
I would like to exec some unix commands from my Tcl scrips
a command like for instance:
set command = plist | awk '{ print \$1}' where plist returns some data.
then I tried:
set status [catch {exec {$command}} plistout] -> got errors
set status [catch {open "$command"} plistout] -> plistout contains file4.
What should I use?
Thanks,