File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ const props = defineProps({
2828 agentId: { type: String , required: true },
2929 cmd: { type: String , required: true },
3030 shell: { type: String , required: true },
31+ run_as_user: { type: Boolean , required: true },
3132 custom_shell: { type: String , required: false },
3233 timeout: { type: Number , default: 10 },
3334});
@@ -77,7 +78,7 @@ onMounted(() => {
7778 shell: props .shell ,
7879 cmd: props .cmd ,
7980 timeout: props .timeout ,
80- run_as_user: false ,
81+ run_as_user: props . run_as_user ,
8182 custom_shell: props .custom_shell ,
8283 stream: true ,
8384 cmd_id: cmdId ,
Original file line number Diff line number Diff line change 123123 :agent-id =" agent.agent_id"
124124 :cmd =" streamCmd"
125125 :shell =" state.shell"
126+ :run_as_user =" state.run_as_user"
126127 :custom_shell =" state.custom_shell"
127128 :timeout =" state.timeout"
128129 @updateOutput =" (val) => (streamOutput = val)"
You can’t perform that action at this time.
0 commit comments