mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
[python] Add uv/poetry to Path on Windows
(cherry picked from commit 308f4606546afabfc0d2d0d427b1cd47a211b046) IJ-MR-153304 GitOrigin-RevId: 1a1b20f48a9bb473171c8bed2f1c03d3676060a5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
029f434232
commit
641e64e910
@@ -409,6 +409,7 @@ class Installer:
|
|||||||
new_path = "{current_path};{new_path}".format(current_path=current_path, new_path=self.bin_dir)
|
new_path = "{current_path};{new_path}".format(current_path=current_path, new_path=self.bin_dir)
|
||||||
os.environ['PATH'] = new_path
|
os.environ['PATH'] = new_path
|
||||||
subprocess.run("setx PATH {new_path}".format(new_path=new_path), shell=True)
|
subprocess.run("setx PATH {new_path}".format(new_path=new_path), shell=True)
|
||||||
|
subprocess.run('$env:Path = "{package_path};$env:Path"'.format(package_path=self.bin_dir), shell=True)
|
||||||
|
|
||||||
self._write(
|
self._write(
|
||||||
POST_MESSAGE.format(
|
POST_MESSAGE.format(
|
||||||
|
|||||||
Reference in New Issue
Block a user