From Run's documentation
commandstring = First[$CommandLine] <> " -noprompt -run \"Put[Factorial[20],ToFileName[$TemporaryDirectory,ToString[temp1]]];Quit[]\""
(* "WolframKernel -noprompt -run "Put[Factorial[20],ToFileName[$TemporaryDirectory,ToString[temp1]]];Quit[]" *)
It is then claimed that this command exits without error
Run[commandstring]
(* 0 *)
but instead of the documented output - 2432902008176640000, no file seems to have been Put?
FilePrint[ToFileName[$TemporaryDirectory, ToString[temp1]]]
(* General::noopen: Cannot open /var/folders/1k/xb6km42x5fg7bv3g2hdnjft40000gn/T/temp1. >> *)
[Observed on Mma V 10.2 , OS X 10.10.5]