aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Martin <antoine97.martin@gmail.com>2020-01-04 23:44:13 +0100
committerAntoine Martin <antoine97.martin@gmail.com>2020-01-05 00:26:18 +0100
commit2aef952141db26df131c201dbe672bce9eafc5d3 (patch)
treeac9e985b387c9c902f8c61866854ed4284846093
parent81643fdcb0e6578f8c35e99579a2d0010d2eac8b (diff)
Create 'ds install wipes user path on Windows'
-rw-r--r--.dev-suite/ticket/open/ds-install-wipes-user-path-on-windows.toml24
1 files changed, 24 insertions, 0 deletions
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 <dev-suite location>;%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 <dev-suite location>;%PATH%"
+```
+'''
+version = 'V1'
+
+[comments]