This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

exec problem with windrop

Help for those learning Tcl or writing their own scripts.
Post Reply
M
Moonshine
Voice
Posts: 19
Joined: Sat Aug 09, 2003 4:19 pm

exec problem with windrop

Post by Moonshine »

Hi ...

i tried, googled the whole day, but couldnt get it to work.

Is there a trick or something special how i a windrop can launch a program under windows.
i wouldnt care if i had to use a special windrop version ...
just need to call a programm with 2 switches.

A code part would be helpfull ;)

TIA 4 HELP
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Re: exec problem with windrop

Post by DragnLord »

Moonshine wrote: A code part would be helpfull ;)
Indeed, some code would be quite helpful.
What code have you tried, and what are the errors (and errorInfo) from them?
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

There should be no problems with TCL 8.4.9. Seems almost like they made the same mistake with 8.4.11 again as before 8.4.9.
you should have searched the windrop forums about it:
https://sourceforge.net/forum/forum.php ... _id=131915
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Re: exec problem with windrop

Post by Alchera »

Moonshine wrote:Hi ...

i tried, googled the whole day, but couldnt get it to work.

Is there a trick or something special how i a windrop can launch a program under windows.
i wouldnt care if i had to use a special windrop version ...
just need to call a programm with 2 switches.

A code part would be helpfull ;)

TIA 4 HELP
Native Win32 ports of some GNU utilities

Code: Select all

putserv "notice $nick :System uptime: [eval exec uptime]"
I hope the above example code helps; the ported utilities are copied into your Windrop's main folder.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

what have native GNU win32 utils to do with eggdrop failing to perform execution of any binary, GNU or not GNU, native or non native, via exec or open |? Please read the topic I have linked to. I am pretty sure they are refering to this issue.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
M
Moonshine
Voice
Posts: 19
Joined: Sat Aug 09, 2003 4:19 pm

Post by Moonshine »

finally i got it to work.

first i made it with a websever and php ... but thats just to much a workaround.

Now i found that line when i was googling:

Code: Select all

exec cmd.exe >&@stdout <@stdin /c example.exe
i dont have a clue what it does, but now its working!

THX 4 helping.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

De Kus wrote:what have native GNU win32 utils to do with eggdrop failing to perform execution of any binary, GNU or not GNU, native or non native, via exec or open |? Please read the topic I have linked to. I am pretty sure they are refering to this issue.
Moonshine wrote:Is there a trick or something special how i a windrop can launch a program under windows.
i wouldnt care if i had to use a special windrop version ...
.. no reference to eggdrop whatsoever!! :P
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Post Reply