Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Execute program from within starpack
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

Report this thread to moderator Post Follow-up to this message
Old Post
John Culleton
10-25-04 09:02 PM


Re: Execute program from within starpack
"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/




Report this thread to moderator Post Follow-up to this message
Old Post
Bob Techentin
10-25-04 09:02 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Tcl archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:42 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.