Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: How to run a program with ! / winexec minimized


From   "Kieran McCaul" <[email protected]>
To   <[email protected]>
Subject   st: RE: How to run a program with ! / winexec minimized
Date   Thu, 29 Nov 2007 12:07:14 +0900

Is this what you mean? This uses the shell command to call Ghostscript.
The "-dSAFER -dBATCH ..." etc are Ghostscript options.

#delimit;
shell "C:\Program Files\gs\gs8.57\bin\gswin32c.exe"
 -dSAFER -dBATCH -dNOPAUSE
 -r100 -g1300x1800 -sDEVICE=png16m
 -dGraphicsAlphaBits=4 -dTextAlphaBits=4
 -sOutputFile="rr_adj.png" "rr_adj.ps";




______________________________________________
Kieran McCaul MPH PhD
WA Centre for Health & Ageing (M573)
University of Western Australia
Level 6, Ainslie House
48 Murray St
Perth 6000
email: [email protected]
http://myprofile.cos.com/mccaul 
_______________________________________________

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Wednesday, 28 November 2007 11:11 PM
To: [email protected]
Subject: st: How to run a program with ! / winexec minimized

Dear list,

Looking at previous messages, I found out other Stata user with the same
problem as mine.

I would like to invoke a shell from Stata without a visible
window for the shell.

According to Alan Riley, this would be possible by setting $S_SHELL
temporarily to contain the name of the executable.

Hence, would it be possible to you to show me how to do that and then
set
Stata as it was by default?

If any newer solution is already available, I will be grateful for any
help.



All the best,

Tiago
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index