Did you try to avoid the intermediate shell scripts and instead invoke the target programs 'feh' and 'impressive ' directly with the popen-command?
Reason for this proposal: if you use a shell script to start a process then
- shell is started (this is the process which is returned from popen)
- the shell starts a process, e.g. feh as a child process.
If you stop the shell, the child could "resist" to exit.
Reason for this proposal: if you use a shell script to start a process then
- shell is started (this is the process which is returned from popen)
- the shell starts a process, e.g. feh as a child process.
If you stop the shell, the child could "resist" to exit.
Statistics: Posted by ghp — Thu Jan 02, 2025 4:54 am