From 2aef952141db26df131c201dbe672bce9eafc5d3 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sat, 4 Jan 2020 23:44:13 +0100 Subject: Create 'ds install wipes user path on Windows' --- .../ds-install-wipes-user-path-on-windows.toml | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .dev-suite/ticket/open/ds-install-wipes-user-path-on-windows.toml diff --git a/.dev-suite/ticket/open/ds-install-wipes-user-path-on-windows.toml b/.dev-suite/ticket/open/ds-install-wipes-user-path-on-windows.toml new file mode 100644 index 0000000..73876b5 --- /dev/null +++ b/.dev-suite/ticket/open/ds-install-wipes-user-path-on-windows.toml @@ -0,0 +1,24 @@ +title = 'ds install wipes user PATH on Windows' +status = 'Open' +id = 'a2448280-2f41-11ea-b9b7-55d06c658ffe' +assignees = [] +description = ''' +Currently on Windows, `ds install` calls the following command to add the folder +containing downloaded dev-suite binaries to the PATH: + +``` +setx PATH ;%PATH% +``` + +However this isn't called inside a shell, so variable expansion isn't performed, +and the PATH the user had previously set is lost into oblivion. + +A simple fix is to call this instead: + +``` +cmd /C "setx PATH ;%PATH%" +``` +''' +version = 'V1' + +[comments] -- cgit v1.2.3