Commit Graph

8 Commits

Author SHA1 Message Date
Jaromil
22a65c7193 correct string termination for tomb close invocation 2011-02-09 19:51:27 +01:00
Jaromil
6078356b64 added post-hooks 2011-02-07 11:56:11 +01:00
Jaromil
4f3204e1e8 using fork() again and pipefd to pass it arguments
it works now, also the parent process correctly reads the output
2011-02-07 11:27:53 +01:00
Jaromil
2751d71708 Revert "substituted the fork with a pthread"
This reverts commit 5afeaac470.

execve()  does  not  return on success, and the text, data, bss, and stack of the calling process are overwritten by
that of the program loaded. means we cannot call exec() from a thread, we must use fork.

next try i'll use environment vars to pass mountpoint to forked exec.
2011-02-07 09:44:59 +01:00
Jaromil
5afeaac470 substituted the fork with a pthread
fixes a bug in closing tombs from the status tray icon
2011-02-06 17:02:28 +01:00
Jaromil
c0bd02a8c0 correct locking of open/close operations
in coordination with tray status presence
and lots more cleanups and testing
2011-02-03 20:42:46 +01:00
Jaromil
2bff19e0e4 fixes after testing on debian and better documentation 2011-01-30 11:37:50 +01:00
Jaromil
36565e2ef4 dropped c++ dependency plus various fixes 2011-01-16 23:43:45 +01:00