Code Monkey home page Code Monkey logo

Comments (12)

kingToolbox avatar kingToolbox commented on May 18, 2024

Exit Code 0xC000013A means that gsudo has been terminated by ctrl+c. From the picture, it should be the ctrl+c that caused the gsudo to exit. And I think gsudo did not handle ctrl+c correctly.

I just released a new version 2.0.0_Prerelease_1, which also contains the updated gsudo v0.7.3, please download and see if the same problem still exists, thank you.

from windterm.

Inokenty90 avatar Inokenty90 commented on May 18, 2024

same error
изображение

from windterm.

Inokenty90 avatar Inokenty90 commented on May 18, 2024

gerardog/gsudo#53 strange but in issue said that in 0.7.2 this error already fixed

from windterm.

kingToolbox avatar kingToolbox commented on May 18, 2024

Yes, I have seen that issue, so one possibility is that it has not been fixed completely.

When I tried to reproduce your problem, I found only pressing ctrl+c at the beginning of the session may cause gsudo to be stopped. I guess it is because the powershell process has not started yet. Once I saw the command prompt, I can no longer stop it by pressing ctrl+c. I have tried several environments with such results. So maybe this question should be submitted to gsudo. Unfortunately, I am afraid there is nothing I can do.

from windterm.

Inokenty90 avatar Inokenty90 commented on May 18, 2024

Tried to reproduce gsudo error without WindTerm and failed. Tried to start powershell from cmd, cmd from powershell, start cmd from Task Manager.

from windterm.

kingToolbox avatar kingToolbox commented on May 18, 2024

Thank you for your hard work. Although not reproducing the problem elsewhere does not mean that it is only related to WindTerm, but this month I will continue to analyze this problem. Whether it can be resolved or not, I will tell you.

from windterm.

Inokenty90 avatar Inokenty90 commented on May 18, 2024

Repeated error on virtual machine with windows 10x64. Need to disable UAC and login as built-in Administrator account.

from windterm.

kingToolbox avatar kingToolbox commented on May 18, 2024

When I saw "repeated", I was optimistic. Such problems can usually be solved well. I will create a vm as you said and try it.

I read the introduction of gsudo, it should be allowed to run under such preset conditions, but I don't know what role gsudo can play in this way, because its purpose is to run commands with elevated permission.

from windterm.

Error996 avatar Error996 commented on May 18, 2024

Fix in gsudo v1.0.2 Latest

Fixed 'gsudo cache' auto-elevation on PowerShell when path has spaces.
Fixed Cache auto not working with sudo alias or msys (#98)
gsudo failing in PowerShell with ExecutionPolicy=Restricted. (#101)
Fixed Ctrl-C Handling on de-elevation (#103)

from windterm.

gerardog avatar gerardog commented on May 18, 2024

Hi. Let me know if this issue persists. BTW, latest gsudo is v1.2 😊

from windterm.

kingToolbox avatar kingToolbox commented on May 18, 2024

@Error996 @gerardog
The gsudo currently used is v1.0.2, and will be upgraded to the 1.2.0 version soon. So this bug should be fixed, but I don't have an environment to test it.

from windterm.

kingToolbox avatar kingToolbox commented on May 18, 2024

@Error996 @gerardog
I am happy to inform you that WindTerm_2.4.0_Prerelease_2 has been released and gsudo 1.2.0 has been packaged. Please download and check it, thank you.

from windterm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.