Added working_directory parameter to execute_command_line()
authorAndrej Kacian <ticho@claws-mail.org>
Sat, 23 Jul 2016 20:41:04 +0000 (22:41 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Sat, 23 Jul 2016 20:41:04 +0000 (22:41 +0200)
commitd0f52e970e57bfb278e61f2776d3f938e81f0e5b
treebe8b9c34ab40040128c0f612b79d3f8ec7b93815
parente66778e76d807d91b5a7e9313eb3ca5e735b8a33
Added working_directory parameter to execute_command_line()

It gets passed as a first argument to g_spawn_sync/async.
Mostly NULL, since that's what was passed until now, but
bsfilter plugin on Windows needs to change to installation
directory (startup_dir).
14 files changed:
src/common/utils.c
src/common/utils.h
src/inc.c
src/mimeview.c
src/plugins/acpi_notifier/acpi_notifier.c
src/plugins/bogofilter/bogofilter.c
src/plugins/bsfilter/bsfilter.c
src/plugins/bsfilter/claws.def
src/plugins/fancy/claws.def
src/plugins/notification/notification_command.c
src/plugins/pdf_viewer/poppler_viewer.c
src/plugins/spamassassin/spamassassin.c
src/plugins/vcalendar/vcal_folder.c
src/textview.c