Skip to content
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

Add Priority Parameter #8

Merged
merged 2 commits into from
Apr 21, 2015
Merged

Add Priority Parameter #8

merged 2 commits into from
Apr 21, 2015

Conversation

jatubio
Copy link
Contributor

@jatubio jatubio commented Apr 21, 2015

Thansk for your code, it's very useful!!

I have tested priority with a batch script file and it's working perfectly.

However, I found a problem. If batch script wait for a key input (PAUSE command), it's hangs :(

I don't know how modify your code to solve them..

jatubio added 2 commits April 21, 2015 02:08
Values supported:

		AboveNormal
		BelowNormal
		High
		Idle
		Normal
		RealTime
@guitarrapc
Copy link
Owner

Thx! It's great feed back and I also wondering same issue:)

I will merge it but will modify to recieve not [string]$Priority but [System.Diagnostics.ProcessPriorityClass]$Priority.

As PowerShell Intellisense works great with Enum, you should use it:)

guitarrapc added a commit that referenced this pull request Apr 21, 2015
@guitarrapc guitarrapc merged commit 9488c46 into guitarrapc:master Apr 21, 2015
guitarrapc referenced this pull request Apr 21, 2015

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
…orityClass] to improve intellisense
@jatubio
Copy link
Contributor Author

jatubio commented Apr 22, 2015

Nice change from string to [System.Diagnostics.ProcessPriorityClass] ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants