Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3881 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

For debugging purposes, I'm trying to do a tcpdump on OS X for a "Send Mail" script step, and I'd like this to run on the user computers, logging just for the relevant timeframe.

The shell script I'm using is along the lines of: 

tcpdump -c 100 > $HOME/test.txt 

I was hoping to be able to use ScriptMaster to circumvent the sad limitation that FileMaker can only do one thing at a time.

 

If I launch tcpdump with a shell script inside an AppleScript, the next script step (Send Mail) will only execute after tcpdump has terminated.

 

If I use Run Shell Script ( command ; waitForOutput ; timeout ) with waitForOutput = true works fine, but obviously has the same limitation.

 

If I use Run Shell Script ( command ; waitForOutput ; timeout ) with waitForOutput = false, a file is created but for some reason nothing is written to it.

 

Does anybody have ideas on what I'm doing wrong, or possibly what other means I could use to achieve the same thing? 

This topic is 3881 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.