Skip to content
Commit ccf7f9c4 authored by Hugo Pereira Da Costa's avatar Hugo Pereira Da Costa
Browse files

Re-added use of g_spawn_command_line_sync in place of popen, to execute an external comment.

This effectively reverts commit 51b662b0
Rational:
- the failure of g_spawn_command_line_sync was a glib bug 3.6.0, that got fixed since then (3.6.2)
- the use of popen generates unnecessary console when compiled for windows
- the use of popen makes it difficult to redirect stderr, which results in error messages being printed
on screen when the executed command failed (for instance because the relevant application is not
installed.

CCBUG: 318891
parent 97b78c3e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment