Why Ubuntu 16.04 C++ program cannot programatically stop mono-service?
Oliver Grawert
ogra at ubuntu.com
Wed May 18 15:24:18 UTC 2016
hi,
Am Dienstag, den 17.05.2016, 10:26 -0400 schrieb Frank Chang:
> I tried char *argv[] = {"/bin/sh", "mono-service.exe",
> "Audio_Recorder.exe", "--debug", ">&", "log.txt",0) followed by
> execve(argv[0], &argv[0], envp) with no success.
">&" is a "bashism" ... use proper POSIX shell for the redirect or
call /bin/bash instead of /bin/sh ...
ciao
oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20160518/e30abbc6/attachment.sig>
More information about the ubuntu-users
mailing list