Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google site




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 07-18-2008
cooldude cooldude is offline
Registered User
 

Join Date: Mar 2006
Posts: 44
Quote:
Originally Posted by cfajohnson View Post

Aliases are shell constructs; they have to be expanded by the shell. Other languages have no knowledge of them (or have their own aliases).
They are shell constructs, but os.system() invokes the the shell. It is no different than the system() call in Unix. In fact, it probably calls system. That's why I see "sh: x: not found"