aboutsummaryrefslogtreecommitdiff
path: root/.dev-suite/ticket/open/ds-install-wipes-user-path-on-windows.toml
blob: 73876b57f7d660310e7a71a7094380aaab19f678 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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]