IP Library Granted Patent US 8,739,122
Granted Patent B2
US 8,739,122 · App. 13/111,775 · Granted May 27, 2014

Command line output redirection

Inventor: James McKeeth (Nampa, ID)
Assignee: Mircon Technology, Inc.
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,739,122
App. No.
13/111,775
Granted
May 27, 2014
Kind
B2
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.

Claims (47)

1. A computer-implemented method comprising:

receiving, in a routine running in a computer, a location identifier configured to selectively identify between a clipboard storage location and a registry storage location, the location identifier comprising:

a first value configured to identify the clipboard storage location, wherein the clipboard storage location references a clipboard maintained by an operating system of the computer when selectively identifying the clipboard storage location; and

a second value configured to identify the registry storage location, wherein the registry storage location references a registry maintained by an operating system of the computer when selectively identifying the registry storage location;

receiving, in the routine running in the computer, output from a command line utility via a piping function of an operating system of the computer, wherein the command line utility is a utility executable in the operating system from a command line prompt; and

storing, by the routine running in the computer, the output received from the command line utility in the clipboard maintained by the operating system based upon the location identifier comprising the first value; or

storing, by the routine running in the computer, the output received from the command line utility in the registry based upon the location identifier comprising the second value.

2. The method of claim 1 wherein the command line utility is a first command line utility, and the routine is a second command line utility connected to the first command line utility in a system call via the piping function.

3. The method of claim 2 wherein the system call is from an application being executed in the operating system.

4. The method of claim 3 comprising receiving the system call from the application.

5. The method of claim 4 comprising providing the output from the clipboard to the application after the system call is completed.

6. The method of claim 1 wherein the clipboard is system shared memory maintained by the operating system and assessable to separate programs running in the operating system.

7. A non-transitory program storage device, readable by a computer, for storing instructions configured to instruct the computer to:

receive a request to execute, on the computer, a set of commands connected via a piping function of an operating system of the computer, the set of commands including a first command line utility and a second command line utility, wherein each of the first command line utility and the second command line utility is executable in the operating system from a command line prompt, wherein the request comprises a location identifier configured to selectively identify between a clipboard storage location and a registry storage location, the location identifier comprising:

a first value configured to identify the clipboard storage location, wherein the clipboard storage location references a clipboard maintained by an operating system of the computer when selectively identifying the clipboard storage location; and

a second value configured to identify the registry storage location, wherein the registry storage location references a registry maintained by an operating system of the computer when selectively identifying the registry storage location;

execute, on the computer, the set of commands including the first command line utility and the second command line utility;

receive output from the first command line utility and provide the output as input to the second command line utility, using the piping function of the operating system of the computer;

receive the output from the second command line utility; and

store the output received via the second command line utility in the clipboard maintained on the computer by the operating system based upon the location identifier comprising the first value; or

store the output received from the second command line utility in the registry based upon the location identifier comprising the second value.

8. The program storage device of claim 7 wherein the clipboard is operating system shared memory.

9. The program storage device of claim 8 wherein the clipboard is in volatile random access memory.

10. The program storage device of claim 7 wherein the request is received as a system call from an application running under the operating system of the computer.

11. The program storage device of claim 10 wherein the instructions are further configured to instruct the computer to provide the output received via the second command line utility from the clipboard to the application, after completion of the system call.

12. The program storage device of claim 7 wherein the instructions comprise the second command line utility.

13. The program storage device of claim 12 wherein the instructions comprise the operation system.

14. A computer, comprising:

a system bus;

at least one processor coupled to the system bus; and

at least one storage device coupled to the system bus, the at least one storage device storing instructions including an operating system and a first command line utility, the operating system configured to:

identify a storage location via a location identifier configured to selectively identify between a clipboard storage location and a registry storage location, the location identifier comprising:

a first value configured to identify the clipboard storage location, wherein the clipboard storage location references a clipboard maintained by an operating system of the computer when selectively identifying the clipboard storage location; and

a second value configured to identify the registry storage location, wherein the registry storage location references a registry maintained by an operating system of the computer when selectively identifying the registry storage location;

instruct the at least one processor to:

allocate a portion of the at least one storage device as a clipboard of the operating system based upon the location identifier comprising the first value, or

allocate a portion of a registry based upon the location identifier comprising the second value;

the first command line utility configured to:

receive input via a piping function of the operating system; and

store the input received via the piping function of the operating system in the clipboard of the operating system based upon the location identifier comprising the first value; or

store the input received via the piping function of the operating system in the registry based upon the location identifier comprising the second value.

15. The computer of claim 14 wherein the portion of the at least one storage device allocated as the clipboard of the operating system is in volatile random access memory.

16. The computer of claim 15 wherein the at least one storage device includes a non-volatile memory device.

17. The computer of claim 14 wherein the operating system is configured to receive a system call to execute a set of commands connected via the piping function of the operating system, the set of commands including the first command line utility and a second command line utility; and the system call is configured to pipe output from the second command line utility as the input to the first command line utility.

18. The computer of claim 17 wherein the system call is received from an application running under the operation system.

19. The computer of claim 18 wherein the operating system runs the application separately from execution of the first command line utility and the second command line utility in the system call.

20. The computer of claim 19 wherein the operating system is configured to provide the output, piped from the second command line utility into the first command line utility and stored via the first command line utility in the clipboard, to the application after completion of the system call.

Assignments (7)
RELEASE OF SECURITY INTEREST Recorded Nov 12, 2019
From: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
To: MICRON TECHNOLOGY, INC.; MICRON SEMICONDUCTOR PRODUCTS, INC.
Reel/Frame 051028/0001 →
RELEASE OF SECURITY INTEREST Recorded Oct 9, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC., AS COLLATERAL AGENT
To: MICRON TECHNOLOGY, INC.
Reel/Frame 050937/0001 →
RELEASE OF SECURITY INTEREST Recorded Aug 23, 2018
From: U.S. BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT
To: MICRON TECHNOLOGY, INC.
Reel/Frame 047243/0001 →
SECURITY INTEREST Recorded Jul 13, 2018
From: MICRON TECHNOLOGY, INC.; MICRON SEMICONDUCTOR PRODUCTS, INC.
To: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
Reel/Frame 047540/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REPLACE ERRONEOUSLY FILED PATENT #7358718 WITH THE CORRECT PATENT #7358178 PREVIOUSLY RECORDED ON REEL 038669 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY INTEREST. Recorded Jun 8, 2017
From: MICRON TECHNOLOGY, INC.
To: U.S. BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT
Reel/Frame 043079/0001 →
PATENT SECURITY AGREEMENT Recorded Jun 2, 2016
From: MICRON TECHNOLOGY, INC.
To: MORGAN STANLEY SENIOR FUNDING, INC., AS COLLATERAL AGENT
Reel/Frame 038954/0001 →
SECURITY INTEREST Recorded May 12, 2016
From: MICRON TECHNOLOGY, INC.
To: U.S. BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT
Reel/Frame 038669/0001 →
Continuity (2)
Continuation 09449782 · Nov 26, 1999
Related Publication 20110225598A1 · Sep 15, 2011