Code Comments
Programming Forum and web based access to our favorite programming groups.I need to bundle an executable program in my starpack, which is addressed by an "exec" statement. Where do I put it and how do I address it in my Tcl/Tk script? John Culleton
Post Follow-up to this message"John Culleton" <john@wexfordpress.com> wrote > I need to bundle an executable program in my starpack, > which is addressed by an "exec" statement. Where do I > put it and how do I address it in my Tcl/Tk script? Nope. Can't do that. :-) Exec makes a system call to create a new process, and the system doesn't know anything about the innards of your starkit or starpack. So you can't exec a program directly out of the starkit. But you can copy out an executable into /tmp and exec it from there. See the bottom of the Starkit Howto page at http://wiki.tcl.tk/8186 for a pointer to an example. Bob -- Bob Techentin techentin.robert@NOSPAMmayo.edu Mayo Foundation (507) 538-5495 200 First St. SW FAX (507) 284-9171 Rochester MN, 55901 USA http://www.mayo.edu/sppdg/
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.