diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2001-06-05 21:23:29 +0000 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2001-06-05 21:23:29 +0000 |
commit | 0957dfd1520f0707a0375c514909e76b75cc5848 (patch) | |
tree | 31aceb95b483e16aa1399f16b178fd2cf8565f5a /mixlib | |
parent | 4c4f85d400ee8bcd9090fc2ea99d2b5c503ea9a9 (diff) | |
download | mdk-0957dfd1520f0707a0375c514909e76b75cc5848.tar.gz mdk-0957dfd1520f0707a0375c514909e76b75cc5848.tar.bz2 |
(cmd_compile_) messages about executed command added
Diffstat (limited to 'mixlib')
-rw-r--r-- | mixlib/mix_vm_command.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mixlib/mix_vm_command.c b/mixlib/mix_vm_command.c index 52b2301..33919d5 100644 --- a/mixlib/mix_vm_command.c +++ b/mixlib/mix_vm_command.c @@ -613,7 +613,10 @@ cmd_compile_ (mix_vm_cmd_dispatcher_t *dis, const gchar *arg) else { gchar *cmd = g_strdup_printf (dis->assembler, arg); - system (cmd); + fputs (cmd, dis->out); + fputs ("\n", dis->out); + if (system (cmd) == EXIT_SUCCESS) + fputs (_("Successful compilation\n"), dis->out); g_free (cmd); return TRUE; } |