-
Notifications
You must be signed in to change notification settings - Fork 1
New approach: Find child process bases on parent id and name #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
496ac5e to
ef8b13b
Compare
|
@zelonght Implement new way as we discussed yesterday. Can you review? |
| children = this.Automator.Application.GetChildPrecesses(this.Automator.Application.GetProcessId()); | ||
| if (children.Count == 0) | ||
| { | ||
| children = this.Automator.Application.GetAllPrecessesByName(this.Automator.Application.GetProcessName()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GetAllPrecessesByName --> is this sure that this is the sub/child process ? Let's discuss this.
ef8b13b to
ff484ed
Compare
|
@zelonght Addressed comments. Can you review it again? |
| <Compile Include="CommandExecutors\NotImplementedExecutor.cs" /> | ||
| <Compile Include="CommandExecutors\SwitchToWindowExecutor.cs" /> | ||
| <Compile Include="CommandLineOptions.cs" /> | ||
| <Compile Include="CommonHelpers\CommonHelpers.cs" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- There is already CommandHelpers we don't need to have CommonHelpers --> let's use what exists.
- CommonHelpers is too common and general, look at the author is doing, each helper must have its meaning (e.g. OSInfo.cs or BuildInfo.cs ==> Let's use something like
TerminateApp.cs
|
@quangnt Commit text please add the JIRA card too. |
|
@quangnt Review done, please address comments |
516ea8d to
4ab296d
Compare
|
@zelonght @KhanhLanHuynh LT, addressed comments on this PR. Can you review? |
|
👍 |
|
@KhanhLanHuynh @longk15t @phienpham Your turn to finalize this before new sprint start next week. |
|
@zelonght sure. |
No description provided.