Skip to content

Commit

Permalink
Merge branch 'master' of git@github.com:kohkimakimoto/BackgroundProce…
Browse files Browse the repository at this point in the history
…ss.git
  • Loading branch information
kohkimakimoto committed Aug 16, 2013
2 parents 6924fbf + 4440851 commit d8604e6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ User composer installation with below `composer.json`.
}
```

And run Composer install command.
And runs Composer install command.

```
$ curl -s http://getcomposer.org/installer | php
Expand All @@ -57,7 +57,7 @@ $ php composer.phar install

## Usage

The following code is to run a command on the background.
The following code runs a command on the background.

```php
use Kohkimakimoto\BackgroundProcess\BackgroundProcess;
Expand All @@ -67,11 +67,11 @@ $process = new BackgroundProcess("ls -l > /tmp/test.txt");
// Runs command, and it returns immediately.
$process->run();

// Get key that identified the process.
// Get key identified the process.
$key = $process->key();
```

The following code is to inspect the background process.
The following code inspects the background process.

```php
use Kohkimakimoto\BackgroundProcess\BackgroundProcess;
Expand All @@ -95,7 +95,7 @@ If your command raises error, BackgroundProcess writes logs to error log file.
/tmp/php/background_process/err.log
```

## Configuration Opstions
## Configuration Options

You can use configuration options to change behavior of BackgroundProcess.

Expand Down

0 comments on commit d8604e6

Please sign in to comment.