Module Rpc_parallel.Remote_executable
val existing_on_host : executable_path:string -> ?strict_host_key_checking:[ `No | `Ask | `Yes ] -> string -> [ `Undeletable ] texisting_on_host ~executable_path ?strict_host_key_checking hostwill create atfrom the supplied host and path. The executable MUST be the exact same executable that will be run in the master process. There will be a check for this inspawn_worker. Usestrict_host_key_checkingto change the StrictHostKeyChecking option used when sshing into this host
val copy_to_host : executable_dir:string -> ?strict_host_key_checking:[ `No | `Ask | `Yes ] -> string -> [ `Deletable ] t Core.Or_error.t Async.Deferred.tcopy_to_host ~executable_dir ?strict_host_key_checking hostwill copy the currently running executable to the desired host and path. It will keep the same name but add a suffix .XXXXXXXX. Usestrict_host_key_checkingto change the StrictHostKeyChecking option used when sshing into this host
val delete : [ `Deletable ] t -> unit Core.Or_error.t Async.Deferred.tdelete twill delete a remote executable that was copied over by a previous call tocopy_to_host
val path : _ t -> stringGet the underlying path, host, and host_key_checking
val host : _ t -> stringval host_key_checking : _ t -> string listval run : _ t -> env:(string * string) list -> args:string list -> Async.Process.t Core.Or_error.t Async.Deferred.tRun the executable remotely with the given environment and arguments. This checks to make sure
tmatches the currently running executable thatrunis called from.