Skip to content

Commit

Permalink
Fix #376
Browse files Browse the repository at this point in the history
  • Loading branch information
Atry committed Apr 10, 2016
1 parent 62a2224 commit 616b571
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ops/src/main/scala/ammonite/ops/FileOps.scala
Original file line number Diff line number Diff line change
Expand Up @@ -375,10 +375,9 @@ object exists extends Function1[Path, Boolean]{
* Kills the given process with the given signal, e.g.
* `kill(9)! pid`
*/
case class kill(signal: Int) extends Function1[Int, CommandResult]{
case class kill(signal: Int)(implicit wd: Path) extends Function1[Int, CommandResult]{
def apply(pid: Int): CommandResult = {

Shellout.%%('kill, "-" + signal, pid.toString)(wd = Path(new java.io.File("")))
Shellout.%%('kill, "-" + signal, pid.toString)
}
}

Expand Down

0 comments on commit 616b571

Please sign in to comment.