Skip to content

Issue with Gorilla CLI on Windows 11 64-bit #34

@zajcomm

Description

@zajcomm

Environment

  • OS: MS Windows 11 64-bit

Problem Description

When trying to execute the Gorilla command to generate random characters into a file, I encountered an issue with the command not being recognized.

Steps to Reproduce

  1. Start Code: Write this code in the command prompt: [make sure to change the path]
    (myVenv) C:\path\to\your\project\Gorilla>gorilla generate 100 random characters into a file called test.txt
    
  2. Get Options to select from: Get these options:
    🦍  Welcome to Gorilla. Use arrows to select
     » echo "100" | sudo tee -a test.txt
       cat /dev/urandom | tr -dc 'a-z0-9' | head -c 100 > test.txt
       cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 100 | head -n 1 > test.txt
       : #Do nothing
    
  3. Select an Option: When selecting any of the first 3 options, receive the following error message, where xxx can be different for different prompts:
    • Example selection/output 1:
      🦍  echo "100" | sudo tee -a test.txt
      'sudo' is not recognized as an internal or external command,
      operable program or batch file.
      

Below is an example when selecting another option:

  • Example selection/output 2:
    🦍  cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 100 | head -n 1 > test.txt
    'cat' is not recognized as an internal or external command,
    operable program or batch file.
    

Expected Behavior

The command should successfully generate 100 random characters into a file called test.txt.

Actual Behavior

The command prompts are not recognized, resulting in an error message.

Additional Context

This issue seems to be specific to Windows, as the commands mentioned are typical Unix/Linux commands that are not recognized in the Windows environment.


Please let me know if there's anything else I can assist you with!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions