-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugNeeds-TriageThe issue is new and needs to be triaged by a work group.The issue is new and needs to be triaged by a work group.Resolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility modulecmdlets in the Microsoft.PowerShell.Utility module
Description
Summary of the new feature / enhancement
Pwsh has no timeout. Although there is timeout.exe on win, but not for read host.
At present, if you need cross platform application, you need to write your own code.
Details:
Increase parameter 'TimeOutSecond', value in seconds. default value is - 1.
Increase parameter 'DefaultValue' , default value is $null.
Proposed technical implementation details (optional)
eg:
$foo = read-host -TimeOut 10 -DefaultValue 'bar' -prompt 'input xxx'
mklement0
Metadata
Metadata
Assignees
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugNeeds-TriageThe issue is new and needs to be triaged by a work group.The issue is new and needs to be triaged by a work group.Resolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility modulecmdlets in the Microsoft.PowerShell.Utility module