-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
508337b
commit 57910f6
Showing
8 changed files
with
527 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
from .process.errors import ProcessIDNotExistsError, ProcessNotFoundError | ||
|
||
|
||
class ClosedProcess(Exception): | ||
def __str__(self): | ||
return "operation on closed process." | ||
return "operation on closed process." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from .main_application_window import ApplicationWindow | ||
from .open_process_window import OpenProcessWindow | ||
|
||
|
||
def main(*args, **kwargs): | ||
open_process_window = OpenProcessWindow() | ||
process = open_process_window.get_process() | ||
|
||
if process: | ||
ApplicationWindow(process) | ||
process.close() | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
Oops, something went wrong.