Colin Fletcher
a8afdaad2b
Make $PATH search in SystemExec actually work
...
Make searching of $PATH work when a SystemExec is created from a
command-line, by making sure that argv[0] is set to the discovered path.
2014-08-17 20:37:21 -04:00
Tim Mayberry
dbcc1f1d39
Rename PBD::find_file_in_search_path to just PBD::find_file
...
saves a bit of typing and not necessary if you look at how it is used.
Conflicts:
gtk2_ardour/about.cc
gtk2_ardour/session_dialog.cc
libs/pbd/system_exec.cc
2014-08-17 18:36:02 -04:00
Colin Fletcher
f22f2bbb55
Search $PATH for command when creating SystemExec from command line
...
When creating a SystemExec from a command-line, search $PATH for the
command to execute, so that post-export hooks don't need to specify a full
path.
Conflicts:
libs/pbd/system_exec.cc
2014-08-17 15:11:27 -04:00
Paul Davis
c934033e23
manually jump forward state of system_exec files to avoid various cherry-picking-related problems during merge with ardour
2014-08-16 17:53:33 -04:00
Colin Fletcher
cba23cac6e
remove debug output from system_exec
...
remove the debug output from pbd/system_exec: it's of no further use, and
also breaks optimised builds.
2014-08-16 16:59:56 -04:00
Colin Fletcher
c35659c2ad
SystemExec: copy last argument from command line to argv[]
...
Make sure to copy any part of the command line after the last delimiter
to argv[] when creating a SystemExec with an escaped command line.
Conflicts:
libs/pbd/system_exec.cc
2014-08-16 16:51:15 -04:00
Robin Gareus
12292f8055
close stdin as first attempt to terminate process cleanly.
2014-08-16 15:59:49 -04:00
Robin Gareus
4566975a5d
fix SystemExec for windows
2014-08-16 15:59:31 -04:00
Colin Fletcher
f74ab3f21f
Move system_exec from gtk2_ardour/ to libs/pbd/
...
Conflicts:
gtk2_ardour/ardour_ui.cc
gtk2_ardour/transcode_ffmpeg.h
gtk2_ardour/video_monitor.h
libs/pbd/system_exec.cc
2014-08-16 15:11:42 -04:00
Robin Gareus
543099afba
rework SystemExec - use vfork wrapper (and lots of related stuff)
2014-03-13 16:58:07 +01:00
Robin Gareus
f6129ed0f4
prototype vfork exec-wrapper.
2014-03-11 15:48:41 +01:00
Robin Gareus
cfa94aeccc
fix system-exec (wait for app to start)
2014-02-25 14:57:57 +01:00
Robin Gareus
1d39cf7543
move SystemExec to libpbd
2014-02-19 03:38:43 +01:00