• 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
TaskWrapper commands with "*.txt" for example
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TaskWrapper commands with "*.txt" for example


  • Subject: TaskWrapper commands with "*.txt" for example
  • From: John Nairn <email@hidden>
  • Date: Wed, 11 Dec 2002 09:50:33 -0700

I am using a TaskWrapper to launch a Unix task from a Cocoa application. I have done it many time before without any trouble. Today I was using a command that might reference many files such as

grep findme *.txt

but "*.txt" does not get expanded into all files matching that expression. I guess that is a shell task. Is there a good way to have such a command executed such that arguments are expanded?

I just tried a TaskWrapper with arguments

0: /bin/csh
1: -c
2: grep findme *.txt

and it might be working. Is this the right way or is there something else?

------------
John Nairn (1-801-581-3413, FAX: 1-801-581-4816)
Web page: http://www.mse.utah.edu/~nairn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: TaskWrapper commands with "*.txt" for example
      • From: Jake Repp <email@hidden>
  • Prev by Date: RE: buttonType in NSButton
  • Next by Date: CF Portability
  • Previous by thread: Re: Converting mouse location between windows
  • Next by thread: Re: TaskWrapper commands with "*.txt" for example
  • Index(es):
    • Date
    • Thread