Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.unix.questions Subject: Re: Subshell Variable Keywords: Subshell Variable Message-ID: <9723@smoke.BRL.MIL> Date: 26 Feb 89 03:11:17 GMT References: <424@unicom.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 12 In article <424@unicom.UUCP> sayah_k@unicom.UUCP (KIANUSCH... Yes, Kianusch himself !!!) writes: >Is there a way to exports system-variables from subshell, running in background >to the main shell? There's no (simple, portable, supported) way to alter a process's environment variables from a subprocess. The best you can do is to write the information into a pipe, file, FIFO, or some such and make the parent shell pick up that information. Without knowing exactly why you want to do this, I cannot give more specific advice. It's possible that you're trying to do something the hard way...