Am Dienstag, 23. Juli 2019, 14:17:38 CEST schrieb Pavel Sanda: > On Tue, Jul 23, 2019 at 10:31:42AM +0200, Kornel Benko wrote: > > No, it works here with full path. > > I doubt you guys have the same version of okular. > This command was tested before putting into UI and used to work. > > Pavel >
At the time you implemented it (2010), was the call one.startscript(Systemcall::Wait, ...) Now there is one.startscript(Systemcall::DontWait,...) That is, the startscript() may return before the command actually starts. Now immediately the variable 'p' is destroyed, and so the change of the working dir is back to old value. How that can influence started background process (is that really started at that time?) I don't understand. Kornel
signature.asc
Description: This is a digitally signed message part.