Deutsch English Français Italiano |
<v3r2pl$16mtl$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!fu-berlin.de!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 01:18:45 -0000 (UTC) Organization: A noiseless patient Spider Lines: 8 Message-ID: <v3r2pl$16mtl$1@dont-email.me> References: <v3pge7$uf2i$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 03:18:45 +0200 (CEST) Injection-Info: dont-email.me; posting-host="f4d69e0b55552fd1d553b40d4565c4a9"; logging-data="1268661"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+zJ2ILurEOwR2H8Gr4Pt07" User-Agent: Pan/0.158 (Avdiivka; ) Cancel-Lock: sha1:YG9y52kS5yu2L+I7sFlu8ScctOM= Bytes: 1172 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).