File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public static string GetText()
49
49
{
50
50
if ( isWsl )
51
51
{
52
- BashRunner . Run ( $ "powershell.exe Get-Clipboard > { tempFileName } ") ;
52
+ BashRunner . Run ( $ "powershell.exe -NoProfile Get-Clipboard > { tempFileName } ") ;
53
53
}
54
54
else
55
55
{
@@ -63,4 +63,4 @@ public static string GetText()
63
63
}
64
64
}
65
65
}
66
- #endif
66
+ #endif
Original file line number Diff line number Diff line change @@ -80,12 +80,12 @@ static void InnerGetText(string tempFileName)
80
80
{
81
81
if ( isWsl )
82
82
{
83
- BashRunner . Run ( $ "powershell.exe Get-Clipboard > { tempFileName } ") ;
83
+ BashRunner . Run ( $ "powershell.exe -NoProfile Get-Clipboard > { tempFileName } ") ;
84
84
}
85
85
else
86
86
{
87
87
BashRunner . Run ( $ "xsel -o --clipboard > { tempFileName } ") ;
88
88
}
89
89
}
90
90
}
91
- #endif
91
+ #endif
You can’t perform that action at this time.
0 commit comments