#some commands not working

33 messages · Page 1 of 1 (latest)

sour wedge
#

it looks like you're trying to execute the commands without consulting $PATH

#

when the user tries to run vim you need to search through the directories in $PATH until you find the vim binary, and then run that, like /usr/bin/vim

#

you you type /usr/bin/vim in your shell it should work

primal gulch
#

What's the error

modest gull
#

yea

floral pumice
#

can you try getting a clear shot ?

#

it's not very readable like this

floral pumice
#

What command are you running ?

floral pumice
#

I meant that are you invoking apt install, apt upgrade or something else

#

Ok

#

Try to run apt full-upgrade and paste the output

#

It's wsl

#

Oh ok

#

just paste the entire output

#

No need to send videos

#

What is the dotnet run you are invoking ?

#

You are having some kind of terminal issue.

#

Thought so. Does it work in just bash ?

#

You should have specified that. And how is someone supposed to help without looking at the source code.

#

Ok ok

#

Check line 134 and 135

#

This might be the reason for the outputs

#

Line 136 might be the reason too

#

Try changing these 3 values

#

Ok try setting UseShellExecute = true then

#

You have this at another place below.

#

Check which one is being executed

#

Check line 168

#

There is another instance within else

#

Could be possible that this one is running

#

U need to set redirect off

#

And UseShellExecute uses the OS shell to execute / run something

#

So I think it should be tru