fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fab-user] fabric run


From: 王旭舟
Subject: [Fab-user] fabric run
Date: Mon, 10 Nov 2014 23:17:24 +0800

Hello ,I have trouble about fabric v1.9.1

I’m working for aix operating system,and now when run oracle script to deploy data

Ex.  run(“sqlplus”), It will show error to me that sqlplus is not found,

I have configuration the .profile where oracle_home is, but it don’t help as all.

Now I have to set

run("export ORACLE_BASE=/oracle/app && \

                       export ORACLE_HOME=$ORACLE_BASE/product/11.0.1/db_1 && \

                       export PATH=$ORACLE_HOME/bin:$PATH && sqlplus")

But in fact ,It not beautiful for code , and not every environment is the same, so please help me to solve this problem.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]