scanobj: Don't depend on the system shell
commitd334d55c1156d3286c272efe3b1d6c8c03541363
authorChristoph Reiter <reiter.christoph@gmail.com>
Thu, 26 Oct 2017 19:27:23 +0000 (26 21:27 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Wed, 1 Nov 2017 20:40:27 +0000 (1 21:40 +0100)
treee3c4fbacb55f3a68554d99dfd9e18c3596fcf693
parentcd6cc8c785a5f615730a6fe74a00674fee1d766c
scanobj: Don't depend on the system shell

* Instead of piping to /dev/null use check_output which pipes the output
  to a return value by default
* Instead of passing the argument list through as is, split them with shlex.split()
  and pass them as a proper argument list.

This makes it possible to run gtk-doc under Windows with mingw.

https://bugzilla.gnome.org/show_bug.cgi?id=789531
gtkdoc/scangobj.py