Path: utzoo!utgpu!watserv1!ria!uwovax.uwo.ca!7103_2622 From: 7103_2622@uwovax.uwo.ca (Eric Smith) Newsgroups: comp.sys.atari.st.tech Subject: Re: GEMDOS dir/drive changing Message-ID: <1991Jan30.112523.8446@uwovax.uwo.ca> Date: 30 Jan 91 16:25:23 GMT References: <1991Jan29.005301.3620@convex.com> Lines: 19 In article <1991Jan29.005301.3620@convex.com>, rosenkra@convex.com (William Rosencranz) writes: > if i Pexec a process, then within that process do a Dsetpath/Dsetdrv, > when i return from the Pexec, will the parent think it is back in the > same dir before the Pexec, or will the child's actions be > propagated back to the parent? in other words, is GEMDOS's concept > of current/default directory global in scope or is it per process? > It's per process (unlike MSDOS, where it's global). > if per process, where is this information stored? Presumably, either in the basepage or on the stack. In MiNT, it's stored in the process structure. In either case, trying to manipulate it is highly non-portable and virtually guaranteed to break on some future version of TOS/MiNT, not to mention RTX or MX2. -- Eric R. Smith email: Dept. of Mathematics eric.smith@uwo.ca University of Western Ontario 7103_2622@uwovax.bitnet