Command line output redirection
AssigneeMicron Technology, Inc.
InventorJames McKeeth
Life of this patent
Estimating the term…
Abstract
In one embodiment the invention provides a method to provide command line utility output to an application without the need of temporary files. The method includes receiving an identifier, receiving output from a command line utility, and storing the command line utility output in a system storage at a location identified by the identifier. In one illustrative embodiment, command line utility output is stored in a system registry database. In another illustrative embodiment, command line utility output is stored in a shared system memory. The method may be stored in any media that is readable and executable by a computer system.
Claims23
A method comprising:
- receiving, in a computer, a call invoked by an application unable to receive command line utility outputs via a command line interface, to execute at least a command line utility, the application providing an identifier in the call, wherein the identifier comprises a system registry storage location accessible by the application, and wherein the command line utility is a utility executable from a command line prompt;
- receiving output from the command line utility;
- storing the output received from the command line utility in the system registry storage location identified by the identifier;
- and
- providing, by the computer, the output of the command line utility to the application from the system registry storage location identified by the identifier.
A program storage device, readable by a computer, storing instructions configured to instruct the computer to:
- receive, in the computer, from an application without a command line interface that may receive command utility outputs, a call invoked to execute at least a command line utility, the application providing at least one identifier in the call, wherein the identifier comprises a system registry storage location, and wherein the command line utility is a utility executable from a command line prompt;
- receive output from the command line utility;
- store the output received from the command line utility in the system registry storage location identified by the at least one identifier;
- and
- provide, by the computer, the output of the command line utility to the application from the system registry storage location identified by the at least one identifier.
A computer system comprising:
- a processor;
- and
- memory storing instructions including an operation system and a command line utility, wherein the command line utility is a utility executable by the processor under control of the operation system from a command line prompt,
- wherein when an application without a command line interface that may receive command utility outputs that is executable on the processor invokes a call to the operation system to execute at least the command line utility, the application provides at least one identifier in the call identifying a system registry location accessible by the application, and
- the instructions cause the system registry storage location identified by the at least one identifier to store an output of the command line utility, enabling the application to retrieve the output of command line utility from the system registry storage location identified by the at least one identifier.
Dependencies are inferred from the claim text.