Path: utzoo!mnetor!uunet!husc6!bloom-beacon!mgm.mit.edu!wolfgang From: wolfgang@mgm.mit.edu (Wolfgang Rupprecht) Newsgroups: comp.emacs Subject: Re: mkdir in GNU 18.50? Message-ID: <3529@bloom-beacon.MIT.EDU> Date: 7 Mar 88 00:58:52 GMT References: <648@acornrc.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Reply-To: wolfgang@mgm.mit.edu (Wolfgang Rupprecht) Organization: Freelance Software Consultant, Boston, Ma. Lines: 23 In article <648@acornrc.UUCP> mkupfer@acornrc.UUCP (Mike Kupfer) writes: >I can't seem to find a function that creates a directory. The best >I've been able to do is use shell-command, which means that errors >are handled by popping up a window with the error message in it >(blech). Instead of shell-command you can try: call-process: Call PROGRAM in separate process. Program's input comes from file INFILE (nil means /dev/null). Insert output in BUFFER before point; t means current buffer; nil for BUFFER means discard it; 0 means discard and don't wait. Fourth arg DISPLAY non-nil means redisplay buffer as output is inserted. Remaining arguments are strings passed as command arguments to PROGRAM. This function waits for PROGRAM to terminate; if you quit, the process is killed. This is the "raw" interface that shell-command uses. --- Wolfgang Rupprecht ARPA: wolfgang@mgm.mit.edu (IP 18.82.0.114) 326 Commonwealth Ave. UUCP: mit-eddie!mgm.mit.edu!wolfgang Boston, Ma. 02115 TEL: (617) 267-4365