Always getting sudo at the start, to avoid password prompts later.
This commit is contained in:
parent
964243ffb8
commit
dd6dd161cf
2 changed files with 5 additions and 5 deletions
5
BUGS
5
BUGS
|
|
@ -1,8 +1,6 @@
|
|||
Current
|
||||
- Within the sandbox sudo is not working for tools.
|
||||
<- Sudo is working now but its always asking for a password.
|
||||
- If a tool runs a script that needs sudo, the password prompt is garbling
|
||||
the screen and stopping input.
|
||||
- When paging the summary window, with the bottom scroll bar showing, the
|
||||
cursor line drifts up or down a row.
|
||||
|
||||
|
|
@ -218,6 +216,9 @@ Fixed
|
|||
- If vigil is started with eveything up-to-date the up-to-date message never
|
||||
appears.
|
||||
- python-coverage is failing in the sub-directories of a project.
|
||||
- If a tool runs a script that needs sudo, the password prompt is garbling
|
||||
the screen and stopping input.
|
||||
<- Now vigil always gets sudo.
|
||||
|
||||
|
||||
Won't fix
|
||||
|
|
|
|||
5
vigil
5
vigil
|
|
@ -1177,9 +1177,8 @@ def check_arguments():
|
|||
|
||||
if __name__ == "__main__":
|
||||
root_path, worker_count, is_sandboxed, editor_command = check_arguments()
|
||||
if is_sandboxed:
|
||||
subprocess.call(["sudo", "-p", "Vigil needs sudo to create the filesy"
|
||||
"stem sandbox... [sudo] password for %u: ", "true"])
|
||||
subprocess.call(["sudo", "-p", "Vigil needs sudo to run any script that "
|
||||
"needs sudo... [sudo] password for %u: ", "true"])
|
||||
with terminal.console_title("vigil: " + os.path.basename(root_path)):
|
||||
manage_cache(root_path)
|
||||
with chdir(root_path): # FIX: Don't change directory if possible.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue