Coder Social home page Coder Social logo

Comments (7)

jorangreef avatar jorangreef commented on July 22, 2024

Thanks @tinvm

On Windows, there is no way to set the name at present.

from sudo-prompt.

tinvm avatar tinvm commented on July 22, 2024

Thanks @jorangreef for your answer.
on osx, can i set it?
and pls tell me how about package call cmd!

from sudo-prompt.

jorangreef avatar jorangreef commented on July 22, 2024

On OS X you can set the name as per the README instructions: https://github.com/jorangreef/sudo-prompt#usage

On Windows, we use cmd.exe as a shell to run the elevated process, that's why it appears as the name.

from sudo-prompt.

tinvm avatar tinvm commented on July 22, 2024

@jorangreef Yep! thanks, nice to run on OS-X.
we have some command line script which has an argument and need run on the system.
Are there any ways to pass cmd and run on the system?

from sudo-prompt.

hieund-hblab avatar hieund-hblab commented on July 22, 2024

@jorangreef
Thanks for your support, but I have one question:
Did this module was based on chikd_process of node.js (https://nodejs.org/api/child_process.html)?
Please help me, thanks!

from sudo-prompt.

jorangreef avatar jorangreef commented on July 22, 2024

Thanks @hieund-hblab I am not sure if I understand what you are asking. The module does use child_process in the implementation, but the interface of the module is not meant to be as full featured as child_process.

from sudo-prompt.

hieund-hblab avatar hieund-hblab commented on July 22, 2024

@jorangreef I got it.
Thank you so much!

from sudo-prompt.

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.