[Pkg-lxde-maintainers] Bug#624015: Suggestion of fix (illustrative patch only)

Ulrik Sverdrup ulrik.sverdrup at gmail.com
Mon Apr 25 22:22:49 UTC 2011


Attached is a patch showing how we can run executable files using
g_spawn_async. Using g_app_info_new_from_commandline is unworkable
because it needs escaping a general filename into a command-line. The
only real solution is to completely cut out such escaping and parsing
and pass the filename directly to g_spawn_async.

Only the first hunk of the patch is relevant. The rest of the patch was
only needed to actually build the package (as it is currently FTBFS).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libfm-spawn-async.patch
Type: text/x-diff
Size: 9837 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-lxde-maintainers/attachments/20110426/6ed84cd6/attachment.patch>


More information about the Pkg-lxde-maintainers mailing list