# How to stop a process started with `@spawnat :any`

Suppose I start a parallel task with:
`future = @spawnat :any do_very_long_time_process()`
How can I stop the process using the `future`?

There is Distributed.interrupt, but it needs `pid`.
In other words, how can I get `pid` from a `future`?

Related questions:

But these are for `Task`, not `Future`.

1 Like

`Future` has a `where` field.

``````* `where` - refers to the node where the underlying object/storage
referred to by the reference actually exists.
``````
1 Like

Oh. Thanks. This code works:

``````interrupt(future.where)
``````
1 Like