On Thu, Apr 13, 2017 at 9:20 AM, Eddy PetriČ™or <[email protected]> wrote:
> Have you managed to find out the cause pud this issue?
>
> I know the environment in which the commands are executed under Tup is
> heavily pruned. Could some missing environment variables be at fault?

It looks like rc uses the environment variable XDG_RUNTIME_DIR, so
that would need to be exported. Eg:

export XDG_RUNTIME_DIR
: t/test.c |> ./rtags/build/bin/rc -c clang -c %f 1>&2 |>

See: 
https://github.com/Andersbakken/rtags/blob/d652167ed7094281413c87a877f8ae11b9aa95cc/src/RClient.cpp#L425

-Mike

-- 
-- 
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to