View Single Post
  #1  
Old 05-19-2020, 10:59 AM
blixem blixem is offline
Registered User
 
Join Date: Apr 2019
Posts: 3
Request: Ability to pass arguments to Local Shell

Request to add the ability to add either arguments, or custom commands to the "Local Shell" configuration.

In my scenario I use WSL often as a local shell. SecureCRT allows this by setting a new session with the local shell: "C:\Windows\System32\wsl.exe" Unfortunately wsl launches this local shell with the "Windows" users home directory instead of the linux user home dir. The fix for this on the command line is to pass the path to the directory you wish to start wsl working directory as after wsl.exe. E.g. "wsl.exe ~" will launch properly with proper home directory.

As of 8.7.1 the Local Shell will not let you add that argument to the command, and displays the error: "Local shell path is not a console application"
Reply With Quote