are you sure that the alias 'aliascommand' has been defined in the .profile/.bashrc/etc which is read when STAFProc on your remote machine fires up a shell? I would think that the following should be able to tell you whether you have any aliases defined in that context: staf remotemachine process start shell returnstdout wait command alias
on my machines I see nothing, and I don't believe I define aliases in any system-level init script, i.e. /etc/bashrc, /etc/profile. hth, nathan ----- "Uma Maheswar Chilukuri" <u...@mach.com> wrote: > Executing aliases using PROCESS service > > > > Hi, > > Ho w to execute an alias mentioned in remote machine (solaris) profile > from a linux bo x using PROCESS (or any other) serivce ? > > When I tried to execute getting the following error. Note that “ > aliascommand ” executes succe ssfully on remte machine independently. > > > > > > [test:~/perl]$STAF remotemachine PROCESS START SHELL COMMAND " > aliascommand " returnstdout stderrtostdout wait > > Response > > -------- > > { > > Return Code: 1 > > Key : <None> > > Files : [ > > { > > Return Code: 0 > > Data : sh: aliascommand : not found > > } > > ] > > } > > > > Thanks > > Uma. > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast > and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > staf-users mailing list > staf-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/staf-users ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users