# How do i get the output of a command?

**URL:** https://discourse.processing.org/t/how-do-i-get-the-output-of-a-command/769
**Category:** Coding Questions
**Created:** [June 7, 2018, 2:45pm UTC](https://discourse.processing.org/t/how-do-i-get-the-output-of-a-command/769 "2018-06-07T14:45:24Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)
#### Post date: [June 8, 2018, 5:33pm UTC](https://discourse.processing.org/t/how-do-i-get-the-output-of-a-command/769/6 "2018-06-08T17:33:59Z")

</div>

> [@crazylogic](#):
>
> but how do i use that within a processing sketch?

It’s a “.java” file. You can download it and then drag & drop into your sketch: 🤑  
[https://Raw.GitHubUserContent.com/GoToLoop/command/patch-1/src/deadpixel/command/Command.java](https://Raw.GitHubUserContent.com/GoToLoop/command/patch-1/src/deadpixel/command/Command.java)

Now you can `import` it like this: 😇  
`import deadpixel.command.Command;`

You can check out the link I’ve posted from my previous reply in order to figure out how to use it. 🤠

---

_[View the full topic](https://discourse.processing.org/t/how-do-i-get-the-output-of-a-command/769)._
