Re: [code] How to get system path in textadept?

From: Mitchell <>
Date: Tue, 21 Apr 2020 21:34:19 -0400 (EDT)


On Wed, 22 Apr 2020, bai bai wrote:

> In textadept, the path variable is different from system path, it is always
> "/usr/bin:/bin:/usr/sbin:/sbin".
> Is there a way to add path or sync the path variable with system path?

Textadept inherits whatever the value of $PATH is when it is launched. I don't think you can modify the environment of a running process, but you can pass an environment to `os.spawn()` that has whatever $PATH you want if that helps.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Tue 21 Apr 2020 - 21:34:19 EDT

This archive was generated by hypermail 2.2.0 : Wed 22 Apr 2020 - 06:27:40 EDT