summaryrefslogtreecommitdiff
path: root/Source/Kernel/Shell
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Kernel/Shell')
-rw-r--r--Source/Kernel/Shell/KernelShell-fs.class.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Kernel/Shell/KernelShell-fs.class.cpp b/Source/Kernel/Shell/KernelShell-fs.class.cpp
index f013f1b..bc7e137 100644
--- a/Source/Kernel/Shell/KernelShell-fs.class.cpp
+++ b/Source/Kernel/Shell/KernelShell-fs.class.cpp
@@ -115,6 +115,9 @@ void KernelShell::run(Vector<String>& args) {
} else {
p->setInVT(m_vt);
p->setOutVT(m_vt);
+ for (u32int i = 2; i < args.size(); i++) {
+ p->pushArg(args[i]);
+ }
p->start();
while (p->getState() != P_FINISHED) Task::currThread()->sleep(10);
delete p;