We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06e9d1d commit 303cb08Copy full SHA for 303cb08
src/TextCopy/LinuxClipboard_2.0.cs
@@ -49,7 +49,7 @@ public static string GetText()
49
{
50
if (isWsl)
51
52
- BashRunner.Run($"powershell.exe Get-Clipboard > {tempFileName}");
+ BashRunner.Run($"powershell.exe -NoProfile Get-Clipboard > {tempFileName}");
53
}
54
else
55
@@ -63,4 +63,4 @@ public static string GetText()
63
64
65
66
-#endif
+#endif
src/TextCopy/LinuxClipboard_2.1.cs
@@ -80,12 +80,12 @@ static void InnerGetText(string tempFileName)
80
81
82
83
84
85
86
87
BashRunner.Run($"xsel -o --clipboard > {tempFileName}");
88
89
90
91
0 commit comments