> From: Mark H Weaver <m...@netris.org> > Cc: Andy Wingo <wi...@pobox.com>, guile-devel@gnu.org > Date: Wed, 10 Aug 2016 02:24:56 -0400 > > >> (zero? (system* "egrep" "-q" string filename)) > > > > For this to work, the Windows implementation of system* will need to > > be augmented to quote characters special for the shell, because > > (unlike execvp on Posix hosts) the arguments of spawnvp are eventually > > concatenated into a single string that gets passed to the system API > > which invokes programs. If this is the way you are willing to solve > > this, I will submit a patch to that effect. > > I think this is the approach we should take here. In general, we prefer > to use 'system*' over 'system' because it avoids having to worry about > quoting issues on POSIX systems. We should enable this to work properly > on MinGW, and avoid a situation where users might be discouraged from > using 'system*' for the sake of MinGW compatibility. > > What do you think?
If you suggest to do what I described above, then I obviously agree. Thanks.