Sorry i mis-click the 'Post' button before finishing my reply. =D
To run Virtuoso in no GUI mode, you can use "virtuoso -nograph " mode, so that it will run the virtuoso at the background. For your case, you need to create a replay file (eg: skillfunction.replay) which include all skill function that you wih to perform such as open cell view, copy, paste and etc in a single file. Please take note that, you must write exit at the end of the code in order for virtuoso to exit. Then invoke virtuoso in nograph mode together with the replay file, the virtuoso will execute the function in the replay file accordingly.
Clear step by step
1. Create a replay file with skill function ( function.replay)
cv = dbOpenCellViewByType("Lib" "Cell" "View" "" "a")
exit ;This is important in order to close your virtuoso
2. Invoke virtuoso in nograph mode with replay file
virtuoso -nograph -replay function.replay