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" <kamccaul@meddent.uwa.edu.au>
To   <statalist@hsphsun2.harvard.edu>
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: kamccaul@meddent.uwa.edu.au
http://myprofile.cos.com/mccaul 
_______________________________________________

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of
tiago.pereira@incor.usp.br
Sent: Wednesday, 28 November 2007 11:11 PM
To: statalist@hsphsun2.harvard.edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index