Last active
May 20, 2020 14:41
-
-
Save nukisashineko/7eae3af04be70d12b4d610761be0c901 to your computer and use it in GitHub Desktop.
ideaをwslで走らせるやつ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Start-Job -ScriptBlock { "$ip_address=(Get-WmiObject -Class Win32_NetworkAdapterConfiguration -Filter { IPENABLED=TRUE and ServiceName="rt640x64" }|Select IPAddress).ipaddress[0]; pengwin.exe -c "DISPLAY=${ip_address}:0.0 /opt/idea-IU-201.7223.91/bin/idea.sh" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment