2007/10/06
IRC [03:01] <tekbasse> hi all, how would one go about fetching an image and saving it locally using aolserver? ns_geturl ns_http ? use an ns_eval and a local curl installation?
IRC [09:15] <Dossy> tclcurl?
IRC [09:15] <Dossy> ns_http, perhaps
IRC [12:13] *** cacrus parted the chat.
IRC [13:46] *** cacrus joined the chat.
IRC [15:42] <tekbasse> using ns_http, collect the image into a var and then write it to disk? I'll give it a try.. I assumed that only worked for text.
IRC [15:59] *** cacru2 joined the chat.
IRC [16:00] <cacru2> Dossy: Why having a exec in the code is not such a good idea ? ( earlier u make a comment which made me think this ) can u please explain ?
IRC [16:10] <Spark> is it the good old "accidently executing user input" thing? :)
IRC [16:14] *** cacrus parted the chat.
IRC [16:59] <Dossy> Spark: no, it's the "fork in pthread app is generally best avoided" thing.
IRC [17:03] <Spark> ah, not tcl code then
IRC [17:10] <cacru2> Dossy: fork and exec are differently defined in pthread process management section , i thought exec in a tcl file executes a system command , Is this totally different thing than the pthread fork and exec process management . I was referrig to having exec in a tcl code , why is it bad ?
IRC [17:26] *** cacru2 parted the chat.
IRC [17:53] <Spark> turns out i can't tell the difference between "eval" and "exec"
IRC [19:24] <Dossy> [exec] in Tcl code invokes a fork/exec.
IRC [19:24] <Dossy> Spark: LOL.
IRC [22:08] *** holycow joined the chat.