const output = "some string";
require("child_process").spawn("clip").stdin.end(output);