[rkward-devel] system() and exported paths

mat matthieu.stigler at gmail.com
Sat Jun 11 13:22:29 UTC 2011

Dear Thomas

Thanks a lot for looking at this!! It is indeed quite strange, but well 
that's fine for me then, no quite a big deal!



Le 10/06/2011 13:57, Thomas Friedrichsmeier a écrit :
> Hi,
> On Thursday 09 June 2011, Matthieu Stigler wrote:
>> so if I do on command line:
>> $ echo $PATH
>> /home/faonix/Documents/Ordi/Latex/Context/contextMinim/tex/texmf-linux-64/b
>> in:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
>> I get the same with R in console. However, if I try the same from Rkward:
>> system("echo $PATH")
>> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
>> So it looks like Rkward behaves differently... why? How can I change it
>> so that it shows same output as in console?
> well, if you start RKWard from the console, then it should be the same PATH,
> right? So the problem is when launching from the applications menu, only,
> correct?
> After some testing on my machine, it looks like:
> - Modifications in .bashrc do not take effect in rkward when launched from the
> appliations menu
> - Modifications in .bash_profile do take effect (after logging out / in).
> I'm not sure, whether or not this is expected behavior, but if it is a bug,
> then that bug is not specific to RKWard, at least. In any case I would suspect
> that any other GUI application launched from the menu will behave the same.
> Does anybody have more insight on this?
> Regards
> Thomas
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> RKWard-devel mailing list
> RKWard-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rkward-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20110611/6f0a152a/attachment.html>

More information about the Rkward-devel mailing list