Skip to main content

Hi-



Does anyone know how I might be able to run a script (single command really) in xterm (X11 environment) instead of Terminal? I know I can fire off 'xterm' in Terminal but I can't seem to pipe anything to it or such.



Thanks



j
---
Jared F. Nichols
Desktop Engineer, Client Services
Information Services Department
MIT Lincoln Laboratory
244 Wood Street
Lexington, Massachusetts 02420
781.981.5436

A simple full path should do it for your shebang.



#!/path/to/xterm



Sorry don't have it installed on any machines currently, but if you use the path to xterm in your shebang the whole script should use that shell instead.



-Tom


Ah fantastic. How the hell did I not think of that. I should have remembered just what shebang is for...



Thanks



j
---
Jared F. Nichols
Desktop Engineer, Client Services
Information Services Department
MIT Lincoln Laboratory
244 Wood Street
Lexington, Massachusetts 02420
781.981.5436


Reply