Comment

Comment by chrishacken

How would you specify a job with multiple parameters? You use "ping" as the example. If I wanted to run "ping -c 20 10.10.10.10", how would I accomplish that? It's not immediately obvious if that is possible.

From going through the source, it looks like the payload is the cmd. Can those be multiple words or will it read each word as a separate argument.

handler := s.Router.Handler(cmd.Name)

reply, err := handler.Exec(cmd)

parent chrishacken 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton