🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #12986

Dupping FileHandles && Run

#12986
From: Michael Richardson
Date: Thu, 01 Jun 1989 05:06
28 lines
1292 bytes
  I know that AmigaDOS doesn't support the duplication of FileHandles
(which makes it rather difficult to pass a FileHandle to another process)
[Yes, I know we've been through this before] but doesn't "run" have to do
something of the sort to allow a "background" process write to the same
window? This is essentially the type of thing that I want to do.
Does an 'Open("*",MODE_OLDFILE)' find the current input, current window
(pr_WindowPtr?), console task (pr_ConsoleTask) or what?

  In case anyone wants to know what I'm doing---email me. I'm afraid I'll
get flamed otherwise.

  (Hint: Remember my posting about Manx && fexecv() && redirection? I
never got an answer. :-) )







--

  :!mcr!:
  Michael Richardson                     Amiga
                                  v--------+
 UUCP: uunet!attcan!lsuc!nrcaer!julie!mcr  | INTERNET mcr@doe.carleton.ca
 Fido: Michael Richardson @ 1:163/109.10<--+ Alter @ 7:483/109.10
Technical Details
Message-ID: <1458.AA1458@julie>
Path: arc1-ca.pugleaf.net!utzoo!dciem!nrcaer!julie!mcr

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!dciem!nrcaer!julie!mcr
From: mcr@julie.UUCP (Michael Richardson)
Newsgroups: comp.sys.amiga.tech
Subject: Dupping FileHandles && Run
Message-ID: <1458.AA1458@julie>
Date: 1 Jun 89 05:06:02 GMT
Followup-To: comp.sys.amiga.tech
Organization: Sandleman Software Works' Debugging Department, Ottawa, ON
Lines: 28