English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 29 September 2008, 23:33   #1
Ed Cruse
Registered User
 
Join Date: Sep 2007
Location: Las Cruces, USA
Age: 65
Posts: 351
Execute Command Redirection Help

Is there anyway to set up a script so that when the execute command's output is redirected all the commands in the script are also redirected the same? As is, only execute's output is redirected, the commands in the script are uneffected.

I wrote my own execute command and it does this but I don't know all the ins and outs of execute so it doesn't do all things correctly, it does most.

I'm using 3.9.

Any help would be appreciated.
Ed Cruse is offline  
Old 30 September 2008, 12:34   #2
smoorke
Registered User
smoorke's Avatar
 
Join Date: Jul 2007
Location: Ghent/Belgium
Age: 37
Posts: 247
Send a message via MSN to smoorke
Code:
execute >nil: script >redirection
Should be it
smoorke is offline  
Old 30 September 2008, 17:59   #3
Ed Cruse
Registered User
 
Join Date: Sep 2007
Location: Las Cruces, USA
Age: 65
Posts: 351
Quote:
Originally Posted by smoorke View Post
Code:
execute >nil: script >redirection
Should be it
Thanks for the response, but the best I can tell the 2nd redirect is totally ignored. The 2nd redirect would actually have to be detected by execute itself and used, but it appears it isn't.

Thank you.
Ed Cruse is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Filesystem read redirection Vot Coders. General 2 07 October 2012 12:43
Execute file without using execute VoltureX support.Apps 3 01 December 2011 10:59
execute a command line before launching a config for a game turrican3 request.UAE Wishlist 10 18 July 2009 13:22
I cannot make whdload execute a command after it exits???? keropi project.WHDLoad 12 23 January 2007 01:12
Printer redirection Jherek Carnelia support.WinUAE 1 14 January 2002 18:57

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:23.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.05908 seconds with 13 queries