You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Being able to create symlinks using relative paths is an important feature that both the ln utility on Unix and cmd's built-in command mklink on Windows support.
Currently, PowerShell invariably resolves the specified path to an absolute path when a symlink is created.
(#801 brought us the ability to create symlinks to non-existing targets, but even they are invariably resolved to an absolute path when the symlink is created).
Instead, the symlink should be defined with the target path exactly as specified.
Being able to create symlinks using relative paths is an important feature that both the
lnutility on Unix and cmd's built-in commandmklinkon Windows support.Currently, PowerShell invariably resolves the specified path to an absolute path when a symlink is created.
(#801 brought us the ability to create symlinks to non-existing targets, but even they are invariably resolved to an absolute path when the symlink is created).
Instead, the symlink should be defined with the target path exactly as specified.
Steps to reproduce (Unix)
Expected behavior
The symlink should be defined with the target path exactly as specified.
Actual behavior
The symlink was unexpectedly defined with an absolute path.
Environment data