From 96e19464f98b868bd93b76ac842ec5b32a17cfb6 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 26 May 2018 15:58:21 +0200 Subject: means to run remote commands and get output --- app/client/system/system.actions.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 app/client/system/system.actions.js (limited to 'app/client/system/system.actions.js') diff --git a/app/client/system/system.actions.js b/app/client/system/system.actions.js new file mode 100644 index 0000000..1732179 --- /dev/null +++ b/app/client/system/system.actions.js @@ -0,0 +1,7 @@ +import * as socket from '../socket' +import types from '../types' + +export const run = (cmd) => { + socket.run_system_command(cmd) + return { type: types.system.running_command, cmd } +} -- cgit v1.2.3-70-g09d2