#7922: system() call does not launch aliases --------------------------+------------------------- Reporter: oco | Owner: nobody Type: bug | Status: new Priority: normal | Milestone: R1 Component: System/POSIX | Version: R1/alpha3 Keywords: | Blocked By: Blocking: | Has a Patch: 0 Platform: All | --------------------------+------------------------- Aliases defined using the alias command can not be run via a system() call. In the open office build system (OOo4Kids), a shell script define some aliases. If i understand things correctly, those commands are intended to be launch with a perl script (build.pl) that use system(). It does not work under Haiku. I can workaround the problem with symlinks. I am not absolutely sure that Haiku should support this. Documents i have found (only a google search) don't describe how system() should work in this case. I don't have a linux box right now to confirm the behavior under Linux. I will do the test next week. The problem could be reproduced using this c program : #include <unistd.h> int main() { system("ll"); return 0; } ll is an alias for "ls -lA" defined by default under Haiku. This program shows an error : /bin/sh: ll: command not found -- Ticket URL: <http://dev.haiku-os.org/ticket/7922> Haiku <http://dev.haiku-os.org> Haiku - the operating system.