Skip to content

running twice in an ssh session #7

Closed
@enyaWecurB

Description

@enyaWecurB

First of all, thank you so much for your work here - it's awesome and really super helpful! Practically, I use it all day long while programming.
I'm running vscodium on unix, trying to tinker on a windows server. With my local environment it works absolutely fine, but the code is executed twice during an ssh session on the win server.

I followed your settings:
"command": "ssh -i ~/.ssh/id_rsa [email protected] -t 'cd C:/path/to/project && php artisan tinker'"

If I call this line directly from a terminal, tinker is executed remotely and no duplicates are printed (everything normal).
The duplications are also shown already shifted during initialization with tinkerun, like:

Tinkerun is Initializing...
<13 -t 'cd C:/path/to/proj                                      ect/portal && php artisan tinker'ojec

Maybe there is a problem with the remote connection, like connecting twice, because the run-command works properly. IMHO. Maybe tinkerun need's the new bash '[...] php artisan tinker; bash --login'? I don't know.
I'm already looking in your code, but I guess you'll find it quicker than me.
hope it helps! Let me know if I can help you with further informations and thank you again for you great work.

Edit: another output with random strings - there are some duplicate lines everytime, but not always as clear to differ as here.

=> Illuminate\Support\Collection {#5088
     all: [
       "F01P6NGhc3paC7LT4BIDfyouh2BGnLQN",
       "0CTbTn79hNaBfcHcQlhoWPPw6bvMlrAi",
       "Z225MZO8qAQ1RAtlaiQAzeZlNxpFH8ku",
       "ei7GLlkoXSqpkzCTl3JG1hZW1XrCkNo1",
       "mH5sE39dLo6Pmk34X4vCpqVk7ItIPfKU",
     ],
   }
       "mH5sE39dLo6Pmk34X4vCpqVk7ItIPfKU", 
     ],
   }

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions