Menu

#462 New command "scriptkillall" for GTKv2 client

None
closed
None
5
2022-07-11
2022-07-08
No

Discussion

  • Kevin Zheng

    Kevin Zheng - 2022-07-09

    Thank you for submitting the patch. A few comments:

    • Why does the help text for 'scriptkillall' say "Not guaranteed to work?"
    • Keep style in mind in script_killall_wrapper(): consistent indentation, no space before ';', and no extra space around the parenthesis in the function declaration.
     
  • Egorov Sergey

    Egorov Sergey - 2022-07-10

    1) I just copied the help text from "help_scriptkill()" to "help_scriptkillall()" with some adjustments. If a client with a running script crashed or exited incorrectly , the script will continue running detached and can no longer be killed by scriptkill or scriptkillall commands. So in any case, the user must check if the scripts are still running in the background.
    2) Here is a patch with corrected style. If it is too late , then I also send a patch that only corrects this.

     
  • Kevin Zheng

    Kevin Zheng - 2022-07-11
    • status: open --> closed
    • assigned_to: Kevin Zheng
    • Group: -->
     
  • Kevin Zheng

    Kevin Zheng - 2022-07-11

    Committed in 17769c0, thanks!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.