Demo entry 6770692

Java

   

Submitted by anonymous on Nov 14, 2018 at 11:26
Language: Java. Code size: 274 Bytes.

public class MyCommand implements Command {
    @Override
    public CommandOutcome run(Cli cli) {
        // start some process on background and unblock
        ...
        // return a special outcome
        return CommandOutcome.succeededAndForkedToBackground();
    }
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).