f my hardrive
> contains 10 G of info, I would need 10G of extra space just to run my
> script.
>
> So I want to create a background process. (I believe this is what I have
> to do, anyway.) I want tar to create 650M of info, and then stop while I
> create a disk image, burn
zip or the burn, then just for you script.
> If you use IDE disks though, it may not be a great idea to run a burn
> and a zip at the same time, as you are likely to get buffer underruns in
> your CD burn.
>
>
> R
>
> -Original Message-
> From: Paul Tremblay [mailto
y'; [EMAIL PROTECTED]
Subject: RE: background process
Hi Pual,
I think this will do the trick...
$MAXSIZE = 500
$size = 0;
@Zip_Now = ();
foreach (@Files_to_zip) {
$size += (stat $_)[7];
if ($size > $MAXSIZE) {
exec "tar -vr -T @Zip_Now -f $
reat idea to run a burn
and a zip at the same time, as you are likely to get buffer underruns in
your CD burn.
R
-Original Message-
From: Paul Tremblay [mailto:[EMAIL PROTECTED]]
Sent: 21 September 2002 22:48
To: [EMAIL PROTECTED]
Subject: background process
I am writing a script in p
ll
have to use split to split it into chunks. Needless to say, if backing
up my whole hardrive, I will have many chunks. In fact, if my hardrive
contains 10 G of info, I would need 10G of extra space just to run my
script.
So I want to create a background process. (I believe this is what I have
to
Greetings all,
I am trying to assign the results of a background process to $variable.
I can't seem to get the correct syntax, could one of you good people
assist?
Below is a snippet of what I have ( running on Solaris 2.6 ), I know
there are more elegant ways to do this. I'm o
Try either the system function (which will allow you to return to your
program after your call to dtterm is finished) or the fork function.
Hope this helps,
Kevin
On Wednesday 26 December 2001 10:56 pm, Ashish Srivastava wrote:
> hi everybody,
>
> how can i run any command in background
> like
hi everybody,
how can i run any command in background
like in shell-
unix-shell% dtterm &
but in perl i want something like:
$string_contain_pid = `dtterm &`;
but its not working
***
Ashish Srivastava
--
To unsubscribe, e-mail: [EMAIL PROT
e 28, 2001 1:59 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Windows Background Process
I have this snippet of code that I picked up from "Learning Perl on Win32
Systems" (O'Reilly) that may be helpful. For more info, check the
Win32::Process module. As a Perl rookie myself, I r
rphy [EMAIL PROTECTED]
EMC Corp.508-435-1000 x14559
Hopkinton, MA 01748
EMC2
where information lives
-Original Message-
From: C.Ouellette [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 27, 2001 6:17 AM
To: [EMAIL PROTEC
would do this.
> My environment is Windows NT 4.0, with Activestate
> perl 5.6.1. I'm also not sure how Windows runs a
> background process, so any tips there would be
> appreciated.
No one else has attempted to answer this (too busy
having fun out obfuscating each other ;>), so eve
Windows NT 4.0, with Activestate
perl 5.6.1. I'm also not sure how Windows runs a
background process, so any tips there would be
appreciated.
Lastly, I've been monitoring this list for a few weeks
now. It has been extremely helpful in getting me
started with Perl. Thank you to everyon
12 matches
Mail list logo