On Sat, Jan 30, 2016 at 5:16 AM, René J.V. <[email protected]> wrote:
> - is there a way to silence output from `catch {system ...` even with the
> -v option? I thought the role of the catch function was also to ... catch
> the called function's output?
Tcl throws an exception if the command run via system exits nonzero or
produces any output on stderr. (You can suppress *some* of this --- but
that was added only recently and not everyone ran out and immediately
rewrote to use the new syntax.) So catch is about catching that exception,
not output. The output is the string result of system.
--
brandon s allbery kf8nh sine nomine associates
[email protected] [email protected]
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev