Deutsch English Français Italiano |
<v3reuv$1c5io$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.lang.c Subject: Re: Running an editor from ANSI C Date: Thu, 6 Jun 2024 04:46:24 -0000 (UTC) Organization: A noiseless patient Spider Lines: 16 Message-ID: <v3reuv$1c5io$1@dont-email.me> References: <v3pge7$uf2i$1@dont-email.me> <v3r2pl$16mtl$1@dont-email.me> <v3r7v8$1b57j$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 06 Jun 2024 06:46:24 +0200 (CEST) Injection-Info: dont-email.me; posting-host="f4d69e0b55552fd1d553b40d4565c4a9"; logging-data="1447512"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+9p1N1dM5OwuSwtlwfHcIH" User-Agent: Pan/0.158 (Avdiivka; ) Cancel-Lock: sha1:BCQV/710zARCrNuqymGUdYv4sAE= Bytes: 1467 On Thu, 6 Jun 2024 03:47:04 +0100, Malcolm McLean wrote: > On 06/06/2024 02:18, Lawrence D'Oliveiro wrote: >> >> On Wed, 5 Jun 2024 11:59:19 +0100, Malcolm McLean wrote: >> >>> So I just call system with nano. >> >> The trouble with system(3) is it requires a shell as an intermediary, >> with consequent pitfalls involving command-line parsing. >> >> More robust to use posix_spawn(3). >> > The concept is an ANSI C only shell. Does ANSI C include functions for escaping shell specials?