1

MobaXterm not displaying all the information for a WSL command and not even asking for users input.

Following is the command I tried in powershell to open MobaXterm to run a WSL command.

.\MobaXterm.exe -newtab "wsl bash -c 'command here which asks user for an input'"

But when I run wsl bash -c 'command here which asks user for an input' directly on powershell it works just fine

Please let me know how can I make MobaXterm to display all the output.

Inderjeet Singh
  • 556
  • 1
  • 9
  • 22

1 Answers1

-1

Try changing the syntax:

For each method, you can append a command that you’d like to execute in the terminal. That is:

  • -c [command]
  • bash -c [command]
  • wsl [command] (NOTE: In this case you don’t append ‘-c’, you just type in your command)

In this case, try:

.\MobaXterm.exe -newtab "wsl 'command here which asks user for an input'"
Cpt.Whale
  • 4,784
  • 1
  • 10
  • 16