The main process and the process that sends the message might have
different working directories. As a result, the main process might not
be able to detect "foo.html" as a file when called as "lariza foo.html".
Release history for lariza
+next
+ [Fixed]
+ - Automatically adding the "file://" prefix didn't work (reliably) if
+ a message was sent to an already running instance.
+
v17.02 2017-02-16
[Fixed]
- As requested by WebKit's API documentation, we now wait for the
if (uri != NULL && cooperative_instances && !cooperative_alone)
{
- write(cooperative_pipe_fp, uri, strlen(uri));
+ f = ensure_uri_scheme(uri);
+ write(cooperative_pipe_fp, f, strlen(f));
write(cooperative_pipe_fp, "\n", 1);
+ g_free(f);
return NULL;
}