• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: "Do Shell Script" Input...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Do Shell Script" Input...


  • Subject: Re: "Do Shell Script" Input...
  • From: nellA hciR <email@hidden>
  • Date: Tue, 4 Jun 2002 10:31:15 -0800

display dialog "Name:" default answer "Name"
set myname to text returned of result
do shell script ("perl /users/hcir/desktop/temp/hello.pl " & myname)

-- contents of hello.pl
(*
#!/usr/bin/perl

print "Hello $ARGV[0]!\n";
*)

-- hcir

On Tuesday, June 4, 2002, at 10:04 , Goldfish wrote:

I have a Perl script which I am trying to execute with the "do shell script" command. However, this Perl script requires user input to execute fully, and whenever I try to execute it, it hangs with a spinning cursor. Here is the code:

set x to (do shell script "x.perl")
display dialog x
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: "Do Shell Script" Input...
      • From: Erik Price <email@hidden>
References: 
 >"Do Shell Script" Input... (From: Goldfish <email@hidden>)

  • Prev by Date: "Do Shell Script" Input...
  • Next by Date: Re: "Do Shell Script" Input...
  • Previous by thread: "Do Shell Script" Input...
  • Next by thread: Re: "Do Shell Script" Input...
  • Index(es):
    • Date
    • Thread